PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/View/cargo/bridge_cabin_config.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/bridge_cabin_config.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/bridge_cabin_config.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 0 years ago
Size: 1,264 bytes
 

Contents

Class file image Download
{#
    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>