{#
If a cabin fails to define this template, the user gets raw JSON to edit.
#}
<input type="hidden" name="cabin_manage_fallback" value="1" />
<p>
{{ __("Both fields must be valid JSON in order for this form to save") }}
</p>
<div class="table table-pad-1 full-width">
<div class="table-row">
<div class="table-min-width table-pad-right text-right table-cell align-top">
<label for="config_extra">
{{ __("Configuration") }}:
</label>
</div>
<div class="table-cell">
<textarea id="config_extra" name="config_extra" class="full-textarea monospace">{#
#}{{ config_extra|json_encode(constant("JSON_PRETTY_PRINT")) }}{#
#}</textarea>
</div>
</div>
<div class="table-row">
<div class="table-min-width table-pad-right text-right table-cell align-top">
<label for="twig_vars">
{{ __("Template Variables") }}:
</label>
</div>
<div class="table-cell">
<textarea id="twig_vars" name="twig_vars" class="full-textarea monospace">{#
#}{{ twig_vars|json_encode(constant("JSON_PRETTY_PRINT")) }}{#
#}</textarea>
</div>
</div>
</div>
|