PHP Classes

File: templates/admin/blog/new.html.twig

Recommend this page to a friend!
  Classes of Manolo Salsas   Symfony Create Bundle Skeleton   templates/admin/blog/new.html.twig   Download  
File: templates/admin/blog/new.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Symfony Create Bundle Skeleton
Application to create reusable Symfony Bundles
Author: By
Last change:
Date: 4 years ago
Size: 944 bytes
 

Contents

Class file image Download
{% extends 'admin/layout.html.twig' %} {% block body_id 'admin_post_new' %} {% block main %} <h1>{{ 'title.post_new'|trans }}</h1> {{ form_start(form) }} {{ form_row(form.title) }} {{ form_row(form.summary) }} {{ form_row(form.content) }} {{ form_row(form.publishedAt) }} {{ form_row(form.tags) }} <button type="submit" class="btn btn-primary"> <i class="fa fa-save" aria-hidden="true"></i> {{ 'label.create_post'|trans }} </button> {{ form_widget(form.saveAndCreateNew, {label: 'label.save_and_create_new', attr: {class: 'btn btn-primary'}}) }} <a href="{{ path('admin_post_index') }}" class="btn btn-link"> <i class="fa fa-list-alt" aria-hidden="true"></i> {{ 'action.back_to_list'|trans }} </a> {{ form_end(form) }} {% endblock %} {% block sidebar %} {{ parent() }} {{ show_source_code(_self) }} {% endblock %}