PHP Classes

File: app/Views/Controller/error/error.html.twig

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy   Silex MVC Blog   app/Views/Controller/error/error.html.twig   Download  
File: app/Views/Controller/error/error.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex MVC Blog
MVC based blog using on the Silex micro-framework
Author: By
Last change:
Date: 8 years ago
Size: 617 bytes
 

Contents

Class file image Download
{# app/Views/Controller/error/error.html.twig #} {% extends "Layout/base.html.twig" %} {% block title %}An Error Occurred: {{ status_text }}{% endblock title %} {% block page_name %}Oops! An Error Occurred{% endblock page_name %} {% block content %} <div class="text-danger lead">The server returned a "{{status_code}}-{{status_text}}. {{ exception.message|nl2br }}".</div> <br> <p class="text-warning"> Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. </p> {% endblock %}