doughnut-wedding/app/Resources/TwigBundle/views/Exception/error.html.twig

22 lines
1.2 KiB
Twig
Raw Normal View History

2017-05-05 22:49:54 -07:00
{% extends 'base.html.twig' %}
{% block title %}Error {{ status_code }} {{ status_text }}{% endblock title %}
{% block debug %}{{ dump() }}{% endblock debug %}
{% block body %}
<p class="uk-margin-remove-top uk-text-center uk-404 uk-doughnut">
{{ status_code|replace({0:'<span class="uk-spin uk-background-cover uk-inline"></span>'})|raw }}
</p>
<div class="uk-width-1-1">
<hr class="uk-divider-icon" />
<p class="uk-text-center uk-text-lead">{{ status_text }}</p>
<p class="uk-text-center uk-text-large">
Sorry about that. I tried to get the page <span class="uk-text-bold">{{ app.request.requestUri }}</span> but it told me <span class="uk-text-bold">{{ status_text }}</span>.
</p>
<p class="uk-text-center uk-text-large">
I don't know what this means because it's not a 1 or a 0, but I sent an email with the error details to my owner and I'm sure they'll get right on it.
</p>
<p class="uk-text-center uk-text-large">The best I can do right now is redirect you to the <a href="{{ path('sikofitt_doughnutwedding_default_index') }}" title="Home page">home</a> page.</p>
</div>
{% endblock body %}