PHP Classes

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

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


Class file image Download
<h2>{{ title }}</h2> {% if gadgets %} <form method="post">{{ form_token() }} <p> {{ __( "Drag and drop the Gadgets below to change the order in which they are loaded. " ~ "Uncheck the box to disable (but not uninstall) a given Gadget." ) }} </p> <ol id="gadgets_list">{% for i, gadget in gadgets %} <li class="gadget-draggable" id="gadget-{{ i|e('html_attr') }}"> <input type="hidden" name="gadget_order[]" value="{{ i|e('html_attr') }}" /> <input type="checkbox" class="large_checkbox" title="Enabled" id="gadget-{{ i|e('html_attr') }}-enabled" name="gadget_enabled[{{ i|e('html_attr') }}]" value="1" {% if gadget.enabled %} checked="checked"{% endif %} /> {{ gadget.supplier }}/{{ }} </li> {% endfor %}</ol> <button type="submit" class="pure-button pure-button-primary"> {{ __("Save") }} </button> <a class="pure-button pure-button-tertiary" href="{{ cabin_url() }}gadgets">{{ __("Cancel") }}</a> </form> {% else %} <p>{{ __("No Gadgets installed.") }}</p> {% endif %}