PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
<h2>{{ __("Are you sure you want to delete this file?") }}</h2>

<pre>{{ cabin_url(cabin) ~ "files/" ~ dir ~ file.filename }}</pre>

<form method="post">{{ form_token() }}
    <button type="submit" name="submit_btn" value="Confirm Delete" class="pure-button pure-button-secondary">
        {{ __("Delete this File") }}
    </button>

    <a
        class="pure-button pure-button-tertiary"
        href="{{
            cabin_url() ~
            path_middle ~
            "/" ~
            cabin|e('url') ~
            "/?dir=" ~
            dir|e('url')
        }}">
        {{ __("No") }}
    </a>
</form>