mirror of
https://github.com/flextype/flextype.git
synced 2025-08-18 10:51:21 +02:00
feat(admin-plugin): fix settings fields #211
This commit is contained in:
@@ -73,6 +73,10 @@
|
||||
<input type="text" id="systemSettingsSystemCharset" name="charset" value="{{ registry.settings.charset }}" class="form-control" required="required">
|
||||
<small>{{ tr('admin_help_text_for_settings_content_character_label') }}</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="shortcodes[extensions]" class="form-control-title">{{ tr('admin_shortcodes_extensions') }}</label>
|
||||
<input type="text" id="systemSettingsShortcodesExtensions" name="shortcodes[extensions]" value="{{ registry.settings.shortcodes.extensions|join(',') }}" class="form-control" required="required">
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full lg:w-6/12 col">
|
||||
<div class="form-group">
|
||||
@@ -185,7 +189,7 @@
|
||||
<div class="flex row mt-6">
|
||||
<div class="w-full lg:w-6/12 col">
|
||||
<div class="form-group">
|
||||
<label for="twig[auto_reload]" class="form-control-title">{{ tr('admin_twig_debug') }}</label>
|
||||
<label for="twig[debug]" class="form-control-title">{{ tr('admin_twig_debug') }}</label>
|
||||
<select id="systemSettingsTwigDebug" name="twig[debug]" class="form-control js-select" required="required">
|
||||
<option value="0" {% if registry.settings.twig.debug == 0 %} selected="selected" {% endif %}>{{ tr('admin_disabled') }}</option>
|
||||
<option value="1" {% if registry.settings.twig.debug == 1 %} selected="selected" {% endif %}>{{ tr('admin_enabled') }}</option>
|
||||
@@ -216,6 +220,12 @@
|
||||
<small>{{ tr('admin_help_text_for_settings_twig_templating_charset_label') }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full col">
|
||||
<div class="form-group">
|
||||
<label for="twig[extensions]" class="form-control-title">{{ tr('admin_twig_extensions') }}</label>
|
||||
<input type="text" id="systemSettingsTwigExtensions" name="twig[extensions]" value="{{ registry.settings.twig.extensions|join(',') }}" class="form-control" required="required">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tabs__content">
|
||||
|
Reference in New Issue
Block a user