PHP Classes

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

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

Contents

Class file image Download
<fieldset class="preferences"> <legend>{{ __("Motif for Each Cabin") }}</legend> <div class="table table-pad-1 full-width"> {% for cabin, motif_data in motifs %} <div class="table-row"> <label class="table-cell table-label" for="motif-{{ cabin|e('html_attr') }}-prefs"> {{ cabin }}: </label> <div class="table-cell full-width"> <select id="motif-{{ cabin|e('html_attr') }}-prefs" name="prefs[motif][{{ cabin|e('html_attr') }}]" > <option value=""> -- {{ __("Automatic") }} -- </option>{# #}{% for motif_name, motif_config in motif_data %}{# #} {% set combined_name = motif_config.config.supplier ~ "/" ~ motif_name %} <option {% if prefs.motif[cabin] == combined_name %} selected="selected" {% endif %} value="{{ combined_name|e('html_attr') }}" >{# #}{{ motif_config.config.display_name }}{# #}</option> {% endfor %}{# #}</select> </div> </div> {% endfor %} </div> </fieldset>