PHP Classes

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: 5 years ago
Size: 745 bytes


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>

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

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

    <a class="pure-button pure-button-tertiary" href="{{
            cabin_url() ~
            path_middle ~
            "/" ~
            cabin|e('url') ~
            "/?dir=" ~
        {{ __("No") }}
For more information send a message to info at phpclasses dot org.