view build/messages/templates/error.html @ 189:a333cdadf5b0

tests: Add tests for Jinja template engine.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 04 Jan 2015 21:55:36 -0800
parents 67a1c082d89d
children a951cd4ef361
line wrap: on
line source

{% extends "default.html" %}

{% block content %}
{{content|safe}}

{% raw %}
{% if details %}
<div class="error-details">
    {{ details|safe }}
</div>
{% endif %}
{% endraw %}
{% endblock %}

{% block footer %}
{% pcformat 'textile' %}
p(note). You're seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the @--debug@ parameter, append @?!debug@ to the URL, or initialize the @PieCrust@ object with @{'debug': true}@. On the other hand, to see you custom error pages, set the @site/display_errors@ setting  to @false@.
{% endpcformat %}
{% endblock %}