Error template

This commit is contained in:
John O'Nolan 2020-07-17 00:36:33 +07:00
parent 9c5f13c925
commit 43e366a340

View file

@ -1,11 +1,14 @@
{{!< default}}
<h1>{{statusCode}}</h1>
<p>{{message}}</p>
<header class="gh-header">
<h1>{{statusCode}}</h1>
<p>{{message}}</p>
</header>
{{#if errorDetails}}
<ul>
<section class="gh-content">
{{#if errorDetails}}
<ul>
{{#foreach errorDetails}}
<li>
<h5>{{{rule}}}</h5>
@ -15,5 +18,6 @@
{{/foreach}}
</li>
{{/foreach}}
</ul>
{{/if}}
</ul>
{{/if}}
</section>