PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/bridge_crew_group_new.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/bridge_crew_group_new.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: 1,857 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">
                {{ __("New Group Name") }}:
            </div>
            <div class="table-cell">
                <input
                    name="name"
                    required="required"
                    title="{{ __("New Group Name")|e('html_attr') }}"
                    type="text"
                />
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell">{{ __("Admin Access") }}:</div>
            <div class="table-cell">
                <input type="checkbox" id="superuser" name="superuser" />{#
                #}<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 groups %}
                        {{ grpmac.selectBox(g) }}
                    {% 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">
                    {{ __("Create Group") }}
                </button>
            </div>
        </div>

    </div>
</form>