Added v-pre to textarea to fix view not working

This commit is contained in:
Matthew Stobbs
2018-08-20 10:57:49 -06:00
parent 5663498ba9
commit 53cb71ebaa

View File

@@ -52,7 +52,7 @@ window.addEventListener("DOMContentLoaded", function(e) {
</div> </div>
<div class="form-group"> <div class="form-group">
<label>{{ trans('forms.incidents.templates.template') }}</label> <label>{{ trans('forms.incidents.templates.template') }}</label>
<textarea name="template[template]" id="cm-editor" class="form-control" rows="8" placeholder="{{ trans('forms.incidents.templates.template') }}">{{ $template->template }}</textarea> <textarea v-pre name="template[template]" id="cm-editor" class="form-control" rows="8" placeholder="{{ trans('forms.incidents.templates.template') }}">{{ $template->template }}</textarea>
<span class="help-block">{!! trans('forms.incidents.templates.twig') !!}</span> <span class="help-block">{!! trans('forms.incidents.templates.twig') !!}</span>
</div> </div>
</fieldset> </fieldset>