PHP Classes

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

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

Contents

Class file image Download
{% set cabin_config = cabin_custom_config() %} <form method="post">{{ form_token() }} <div class="table full-width table-pad-1"> <div class="table-row"> <div class="table-cell table-label table-min-width"> <label for="author_name">{{ __("Author Name") }}:</label> </div> <div class="table-cell"> <input class="full-width" id="author_name" name="name" placeholder="{{ __("e.g. Information Technology Department")|e('html_attr') }}" type="text" /> </div> </div> <div class="table-row"> <div class="table-cell table-label table-min-width"> <label for="byline">{{ __("Byline") }}</label>: </div> <div class="table-cell"> <input class="full-width" id="byline" type="text" placeholder="{{ __("e.g. Chief Operations Officer")|e('html_attr') }}" name="byline" value="{{ post.byline|e('html_attr') }}" /> </div> </div> <div class="table-row"> <div class="table-cell table-label table-min-width"> <label for="format">{{ __("Format") }}</label>: </div> <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"> <div class="table-cell table-label align-top table-min-width"> {{ __("Biography") }}: </div> <div class="table-cell"> <div class="bridge_page_rich_text_wrapper"> {% include cargo("rich_text_editor") with { "name": "biography", "placeholder": __("Optional. Tell the world who you are."), "contents": "" } %} </div> </div> </div> <div class="table-row"> <div class="table-cell tabel-label"></div> <div class="table-cell text-right"> <button type="submit" name="save_btn" value="save" class="pure-button pure-button-secondary"> <i class="fa fa-save"></i> {{ __("Create Author") }} </button> </div> </div> </div> </form>