Error template
This commit is contained in:
parent
9c5f13c925
commit
43e366a340
1 changed files with 18 additions and 14 deletions
16
error.hbs
16
error.hbs
|
@ -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>
|
Loading…
Reference in a new issue