PHP Classes

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

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

Contents

Class file image Download
{% set cabin_config = cabin_custom_config() %} <h3 class="nomargin">{{ __("Create New Series") }}</h3> <form method="post">{{ form_token() }} <div id="blog_series_metadata" class="form-table full-width table-pad-1"> <div class="table-row"> <label class="table-cell table-label" for="series-name"> {{ __("Series Name") }}: </label> <div class="table-cell"> <input id="series-name" type="text" class="full-width" required="required" name="name" /> </div> </div> <div class="table-row"> <label class="table-cell" for="author"> {{ __("Author") }}: </label> <div class="table-cell"> <select name="author" id="author" required="required"> <option value=""></option> {% for author in authors %} <option value="{{ author.authorid|e('html_attr') }}">{{ author.name }}</option> {% endfor %} </select> </div> </div> <div class="table-row"> <label class="table-cell"> {{ __("Preamble Format") }}: </label> <div class="table-cell"> {% include cargo("bridge_pages_select_format") with { "format": _POST.format|default( cabin_config['editor']['default-format']|default('Rich Text') ) } %} </div> </div> <div class="table-row"> <label class="table-cell align-top"> {{ __("Preamble") }}: </label> <div class="table-cell"> <div class="bridge_blog_series_rich_text_wrapper"> {% include cargo("rich_text_editor") with { "name": "preamble", "placeholder": __("Information about this series goes here"), "contents": _POST.contents|default("") } %} </div> </div> </div> {% include cargo("bridge_blog_series_config") ignore missing %} </div> <h3 class="nomargin">{{ __("Series Contents") }}</h3> {% include cargo("bridge_blog_series_sortable") with { "items": series_items|default( [] ) } %} <fieldset class="form-button-group no-border text-right"> <a class="pure-button pure-button-tertiary" href="{{ cabin_url() }}blog/series">{{ __("Cancel") }}</a> <button type="submit" name="save_btn" value="draft" class="pure-button pure-button-primary"> <i class="fa fa-plus-circle"></i> {{ __("Create Series") }} </button> </fieldset> </form>