PHP Classes

File: src/Cabin/Bridge/View/board.twig

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


Class file image Download
{% extends base_template() %}
{% set title = __("Boarding") %}

{% block content %}
    {% if cabin_custom_config()['board']['enabled'] %}
    <div class="width50 center">
    <h2>{{ __("Register a New Account") }}</h2>
    {%  if post_response %}
        <div class="post {{ post_response.status|e('html_attr') }}">{#
            #}{{ post_response.message }}{#
    {% endif %}
        <div class="board-form-wrapper">
                class="board-form pure-form pure-form-stacked"
                action="{{ cabin_url('Bridge')|e('html_attr') }}board"
            >{{ form_token() }}
                <label for="username">{{ __("Username") }}:</label>
                <input type="text" id="username" name="username" placeholder="{{ __("Enter your Username") }}" required="required" class="pure-input-1" />
                <div id="username_feedback">


                <label for="password">{{ __("Passphrase") }}:</label>
                <input type="password" id="password" name="passphrase" placeholder="{{ __("Enter your Passphrase") }}" required="required" class="pure-input-1" />
                <div id="password_feedback">


                {% if config.board.captcha %}
                    <label>{{ __("Please verify that you are human") }}:</label>
                    <div class="g-recaptcha" data-sitekey="{{ config.recaptcha["site-key"]|e('html_attr') }}"></div>
                {% endif %}
                        <input class="inblock" type="checkbox" id="show_hide_optional" />
                        <label class="inblock" for="show_hide_optional">
                            {{ __("Fill out optional profile fields?") }}
                            <noscript>({{ __("Requires JavaScript") }})</noscript>
                    <div id="optional_field_wrapper">
                        {% include cargo("form_register_extra_fields") ignore missing %}
                    <button type="submit" class="pure-button pure-button-primary">
                        <i class="fa fa-user-plus"></i>
                        {{ __("Sign Up") }}
    {% endif %}
{% endblock %}

{% block page_js %}
<script src="{{ "/static/Bridge/board.js"|cachebust }}"></script>
<script src="{{ "/js/zxcvbn.js"|cachebust }}"></script>
<script src="{{ "/static/Bridge/passwords.js"|cachebust }}"></script>
{% if config.board.captcha %}
    <script src="{{ csp_hash("", "script-src", "sha384") }}"></script>
{% endif %}
{% endblock %}
For more information send a message to info at phpclasses dot org.