PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
{% import "macros/groups.twig" as grpmac %}
<h2>{{ __("Edit User Account") }}</h2>
<form method="post">{{ form_token() }}
    <div class="table full-width table-pad-1">

        <div class="table-row">
            <div class="table-cell table-label">
                {{ __("Username") }}:
            </div>
            <div class="table-cell">
                <input
                    class="full-width"
                    name="username"
                    title="{{ __("Username")|e('html_attr') }}"
                    type="text"
                />
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell table-label">
                {{ __("Passphrase") }}:
            </div>
            <div class="table-cell">
                <input
                    class="full-width"
                    id="password"
                    name="passphrase"
                    required="required"
                    title="{{ __("Passphrase")|e('html_attr') }}"
                    type="password"
                />
                <div id="password_feedback" class="text-shadow"></div>
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell table-label">
                {{ __("Display Name") }}:
            </div>
            <div class="table-cell">
                <input
                    class="full-width"
                    name="display_name"
                    title="{{ __("Display Name")|e('html_attr') }}"
                    type="text"
                />
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell table-label">
                {{ __("Real Name") }}:
            </div>
            <div class="table-cell">
                <input
                    class="full-width"
                    name="real_name"
                    title="{{ __("Real Name")|e('html_attr') }}"
                    type="text"
                />
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell table-label">
                {{ __("Email Address") }}:
            </div>
            <div class="table-cell">
                <input
                    class="full-width"
                    name="email"
                    title="{{ __("Email Address")|e('html_attr') }}"
                    type="text"
                />
            </div>
        </div>

        <div class="table-row">
            <div class="table-cell table-label align-top">
                {{ __("Custom Profile Fields (JSON)") }}:
            </div>
            <div class="table-cell">
                <textarea
                    class="full-width full-textarea"
                    title="{{ __("Custom Profile Fields (JSON)")|e('html_attr') }}"
                    name="custom_fields"
                >[]</textarea>
            </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 User Account") }}
                </button>
                <a class="pure-button pure-button-tertiary" href="{{ cabin_url() }}crew/users">
                    {{ __("Cancel") }}
                </a>
            </div>
        </div>
    </div>
</form>