PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
<h3>{{ __("Confirm Blog Post Deletion") }}</h3>
<p>
    {{ __("Are you sure you want to delete this blog post? There is no undo.") }}
</p>
<form method="post">{{ form_token() }}
    <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>

        {% if form_error %}<p class="error_header">{{ form_error }}</p>{% endif %}

    <div id="blog_post_delete_redirect_box">
        <label for="redirect_url">{{ __("Redirect destination") }}:</label>
        <div class="input-wrapper">
            <input name="redirect_url" type="text" id="redirect_url" placeholder="/example/path" />
        </div>
    </div>
    </fieldset>

    <fieldset class="form-button-group">
            <button type="submit" name="delete_btn" value="draft" class="pure-button pure-button-primary">
                <i class="fa fa-trash"></i>
                {{  __("Delete Blog Post") }}
            </button>
    </fieldset>
</form>