PHP Classes

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

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


Class file image Download
<div id="bridge_blog_category_add">
    <form method="post">{{ form_token() }}
        <div class="table full-width table-pad-1">
            <div class="table-row">
                <div class="table-cell table-min-width text-right table-pad-right">
                    <label for="name">{{ __("Category Name") }}:</label>
                <div class="table-cell">
                    <input id="name" type="text" name="name" value="{{|e('html_attr') }}" />

            <div class="table-row">
                <label class="table-cell" for="blog_category_slug">{{ __("Slug") }}:</label>
                <div class="table-cell bottom-pad">
                        data-original="{{ category.slug|e('html_attr') }}"
                        value="{{ category.slug|e('html_attr') }}"
                    <div id="blog_category_slug_checkbox_wrapper">
                        <input type="checkbox" class="large_checkbox" name="redirect_slug" id="redirect_slug" value="1" />
                        <label for="redirect_slug">{{ __("Redirect the old URL to the new destination?") }}</label>

            <div class="table-row">
                <div class="table-cell text-right">
                    <label for="parent">{{ __("Parent") }}:</label>
                <div class="table-cell">
                    <select id="parent" class="treeselect" name="parent">{% spaceless %}
                            <option value="0"> -{{ __("None")|e('html_attr') }}- </option>
                            {% for cat in categories %}
                                {{ bcatmac.selectBox(cat, category.categoryid, category.parent) }}
                            {% endfor %}
                        {% endspaceless %}

            <div class="table-row">
                <div class="table-cell table-min-width text-right table-pad-right">
                    {{ __("Preamble (Markdown)") }}:
                <div class="table-cell">
                    <input type="hidden" id="format" value="Markdown" />

        <div class="bridge_categories_rich_text_wrapper">
            {% include cargo("rich_text_editor") with {
                "name": "preamble",
                "placeholder": "",
                "contents": _POST.preamble|default(category.preamble)
            } %}

        <fieldset class="form-button-group no-border text-right">
            <a class="pure-button pure-button-tertiary" href="{{ cabin_url() }}blog/category">
                {{ __("Cancel") }}

            <button type="submit" name="save_btn" value="create" class="pure-button pure-button-primary">
                <i class="fa fa-check"></i>
                {{  __("Save Changes") }}
For more information send a message to info at phpclasses dot org.