PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
<form method="post">{{ form_token() }}
    <h3>{{ __("Confirm Custom Page Deletion") }}</h3>
    <p>
        {{ __("Are you sure you want to delete this page? There is no undo.") }}
    </p>
    <fieldset class="form-metadata-wrapper">
        <legend>
            <input id="create_redirect" name="create_redirect" type="checkbox" value="1" />
            <label for="create_redirect">{{ __("Redirect users to a different location?") }}</label>
        </legend>
        <div id="redirect_box">
            <label for="redirect_to">{{ __("Redirect destination") }}:</label>
            <input type="text" id="redirect_to" placeholder="/example/path" />
        </div>
    </fieldset>

    <label>{{ __("Please prove that you are human") }}:</label>
    <div class="g-recaptcha" data-sitekey="{{ config.recaptcha["site-key"]|e('html_attr') }}"></div>

    <hr />

    <button
        class="pure-button pure-button-secondary"
        name="save_btn"
        type="submit"
        value="confirm"
    >
        {{  __("Save Changes") }}
    </button>
    <button
        class="pure-button pure-button-tertiary"
        id="cancel_btn"
        data-href="{{ cabin_url() ~ "pages/" ~ cabin|e('url') ~ "?dir=" ~ dir|e('url') }}"
        type="button"
    >
        {{ __("Cancel") }}
    </button>
</form>