PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
<h2 class="bottom-pad">{{ __("Confirm Category Deletion") }}</h2>
<div id="bridge_crew_category_delete">
    <p>
        {{ __("Are you sure you want to delete %s? There is no undo.", "default", category.name) }}
    </p>
    <form method="post">{{ form_token() }}

        <div class="bottom-pad">
            <label for="parent">{{ __("Move blog posts and child categories to") }}:</label>
            <select id="parent" class="treeselect" name="moveChildrenTo">
            {% for cat in categories %}
                {{ bcatmac.selectBox(
                    cat,
                    category.categoryid,
                    category.parent
                ) }}
            {% endfor %}
            </select>
        </div>

        <button type="submit" name="confirm" value="1" class="pure-button pure-button-primary pure-button-danger">
            {{ __("Delete Category") }}
        </button>

        <a
            class="pure-button pure-button-tertiary"
            href="{{ cabin_url() }}blog/category"
        >
            {{ __("Cancel") }}
        </a>
    </form>
</div>