PHP Classes

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

Recommend this page to a friend!
  Classes of Manolo Salsas   Symfony Create Bundle Skeleton   templates/admin/blog/show.html.twig   Download  
File: templates/admin/blog/show.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: 1,091 bytes
 

Contents

Class file image Download
{% extends 'admin/layout.html.twig' %} {% block body_id 'admin_post_show' %} {% block main %} <h1>{{ post.title }}</h1> <p class="post-metadata"> <span class="metadata"><i class="fa fa-calendar"></i> {{ post.publishedAt|format_datetime('long', 'medium', '', 'UTC') }}</span> <span class="metadata"><i class="fa fa-user"></i> {{ post.author.fullName }}</span> </p> <div class="well"> <p class="m-b-0"><strong>{{ 'label.summary'|trans }}</strong>: {{ post.summary }}</p> </div> {{ post.content|md2html }} {{ include('blog/_post_tags.html.twig') }} {% endblock %} {% block sidebar %} <div class="section"> <a href="{{ path('admin_post_edit', {id: post.id}) }}" class="btn btn-lg btn-block btn-success"> <i class="fa fa-edit" aria-hidden="true"></i> {{ 'action.edit_contents'|trans }} </a> </div> <div class="section"> {{ include('admin/blog/_delete_form.html.twig', {post: post}, with_context = false) }} </div> {{ parent() }} {{ show_source_code(_self) }} {% endblock %}