PHP Classes
elePHPant
Icontem

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

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

Contents

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

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

<ul>
    {% for child in dir_contents %}
    <li class="monospace">{{ cabin_url(cabin) ~ "files/" ~ child }}</li>
    {% endfor %}
</ul>

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

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