Merge pull request #3223 from stobbsm/2.4

Fixes Template not rendering when containing twig variables
This commit is contained in:
James Brooks
2018-11-23 21:45:03 +00:00
committed by GitHub

View File

@@ -52,7 +52,7 @@ window.addEventListener("DOMContentLoaded", function(e) {
</div>
<div class="form-group">
<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>
</div>
</fieldset>