PHP Classes

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

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Bridge/View/cargo/bridge_crew_group_edit.twig   Download  
File: src/Cabin/Bridge/View/cargo/bridge_crew_group_edit.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: 2,072 bytes
 

Contents

Class file image Download
{% import "macros/groups.twig" as grpmac %} <form method="post">{{ form_token() }} <div class="table table-pad-1"> <div class="table-row"> <div class="table-cell"> {{ __("Group Name") }}: </div> <div class="table-cell"> <input name="name" required="required" title="{{ __("Group Name")|e('html_attr') }}" type="text" value="{{ group.name|e('html_attr') }}" /> </div> </div> <div class="table-row"> <div class="table-cell">{{ __("Admin Access") }}:</div> <div class="table-cell"> <input {% if group.superuser %}checked="checked"{% endif %} id="superuser" name="superuser" type="checkbox" /><label for="superuser">{{ __( "Grant admin access to all members of this group " ~ "(and any groups that inherit permissions from it)?" ) }}</label> </div> </div> <div class="table-row"> <div class="table-cell"> {{ __("Parent") }}: </div> <div class="table-cell"> <select title="{{ __("Parent")|e('html_attr') }}" name="parent" id="groups_parents"> <option value=""> -- {{ __("None") }} -- </option> {% for g in allowed_parents %} {{ grpmac.selectBox(g, group.inherits) }} {% endfor %} </select> </div> </div> <div class="table-row"> <div class="table-cell table-label"></div> <div class="table-cell"> <button type="submit" class="pure-button pure-button-primary"> {{ __("Save Group") }} </button> </div> </div> </div> </form>