PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/bridge_motifs_manage.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/bridge_motifs_manage.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: 1 year ago
Size: 713 bytes
 

Contents

Class file image Download
<h2 class="bottom-pad">{{ __("Motifs for %s", "default", cabin_name|e('html')) }}</h2>

<form method="post">{{ form_token() }}
    <ul id="motifs-for-cabin">
{% for key, motif in motifs %}
    <li>
        <input
            id="motif-{{ key|e('html_attr') }}"
            type="checkbox"
            name="motifs_enabled[{{ key|e('html_attr') }}]"
            value="1"
            {% if motif.enabled %} checked="checked"{% endif %}
        />
        <label for="motif-{{ key|e('html_attr') }}">
            {{ motif.name }}/{{ motif.supplier }}
        </label>
    </li>
{% endfor %}
    </ul>
    <button class="pure-button pure-button-primary">
        {{ __("Save Motif Settings") }}
    </button>
</form>