PHP Classes

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

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

Contents

Class file image Download
<h2>{{ __("Create a New Blog Post Category") }}</h2> <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">{{ __("New Category") }}:</label> </div> <div class="table-cell"> <input id="name" type="text" name="name" /> </div> </div> <div class="table-row"> <div class="table-cell table-min-width text-right table-pad-right"> <label for="parent">{{ __("Parent") }}:</label> </div> <div class="table-cell"> <select id="parent" class="treeselect" name="parent">{% spaceless %} <option value="0"> -{{ __("None") }}- </option> {% for category in categories %} {{ bcatmac.selectBox(category) }} {% endfor %} {% endspaceless %} </select> </div> </div> </div> <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("") } %} </div> <fieldset class="form-button-group no-border text-right"> <a href="{{ cabin_url() }}blog/category" class="pure-button pure-button-tertiary">{{ __("Cancel") }}</a> <button type="submit" name="save_btn" value="create" class="pure-button pure-button-primary"> <i class="fa fa-check"></i> {{ __("Create New Category") }} </button> </fieldset> </form> </div>