PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
{% import "macros/groups.twig" as grpmac %}
<h2 class="bottom-pad">{{ __("Confirm Group Deletion") }}</h2>
<div id="bridge_crew_group_delete">
    <p>
        {{ __("Are you sure you want to delete %s? There is no undo.", "default", group.name) }}
    </p>
    <form method="post">{{ form_token() }}

        <fieldset>
            <legend>{{ __("Move inherited groups to another group?") }}</legend>

            <select title="{{ __("New Parent")|e('html_attr') }}" name="move_children">
                <option value=""> -- {{ __("None") }} -- </option>
                {% for g in allowed_parents %}
                    {{ grpmac.selectBox(g) }}
                {% endfor %}
            </select>
        </fieldset>

        <br />

        <button type="submit" name="confirm" value="1" class="pure-button pure-button-primary pure-button-danger">
            {{ __("Delete Group") }}
        </button>

        <a
            class="pure-button pure-button-tertiary"
            href="{{ cabin_url() }}crew/groups"
        >
            {{ __("Cancel") }}
        </a>
    </form>
</div>