Generate error pages

This commit is contained in:
nemunaire 2014-01-20 09:58:01 +01:00
commit 5e8781baf7
6 changed files with 72 additions and 24 deletions

View file

@ -1,12 +0,0 @@
{extends file="layout.tpl"}
{block name=content}
<div class="page-header">
<h1>
{text file="erreurs" path="$err/title"}
<small>{text file="erreurs" path="$err/subtitle"}</small>
</h1>
</div>
<p>
{text file="erreurs" path="$err/content"}
</p>
{/block}

View file

@ -0,0 +1,15 @@
{extends file="layout.tpl"}
{block name=content}
<div class="jumbotron">
<div class="container">
<h1>
{text file="erreurs" path="$err/title"}
<small>{text file="erreurs" path="$err/subtitle"}</small>
</h1>
<p>
{text file="erreurs" path="$err/content"}
</p>
</div>
</div>
{/block}