PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
<form method="post" class="airship-form">{{ form_token() }}
    <div class="table full-width bottom-pad">
        <div class="table-row">
            <label class="table-cell table-min-width bottom-pad" for="old_url">{{ __("Old URL") }}:</label>
            <div class="table-cell table-min-width text-right">
                {{ cabin_url(cabin) }}
            </div>
            <div class="table-cell">
                <input class="full-width" type="text" name="old_url" placeholder="bridge/redirects/{{ cabin|e('html_attr') }}/new" />
            </div>
        </div>

        <div class="table-row">
            <label class="table-cell table-min-width" for="new_url">{{ __("New URL") }}:</label>
            <div class="table-cell table-min-width">
                {{ __("(Relative or absolute)") }}
            </div>
            <div class="table-cell">
                <input class="full-width" type="text" name="new_url" placeholder="https://example.com" />
            </div>
        </div>
    </div>

    <div class="form-button-group no-border text-right">
        <a href="{{ cabin_url() }}redirects/{{ cabin|e('html_attr') }}" class="pure-button pure-button-tertiary">
            {{ __("Cancel") }}
        </a>
        <button class="pure-button pure-button-primary">
            <i class="fa fa-save"></i> {{ __("Create Redirect") }}
        </button>
    </div>
</form>