Move error message to layout.html.hbs.

This commit is contained in:
Justus Winter 2019-02-26 17:33:21 +01:00
parent 449d1ec64f
commit f43ca7f512
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,4 @@
{{#> layout }}
{{#with error }}
<p><strong>Error</strong>: {{ this }}</p>
{{/with}}
{{> search-form}}
<div class="row">
<p>You can also <a href="/vks/publish">upload</a> or <a href="/vks/manage">delete</a> your key.</p>

View File

@ -9,7 +9,9 @@
<body lang="en">
<div class="card">
<h1><a class="brand" href="/">keys.openpgp.org</a></h1>
{{#with error }}
<p><strong>Error</strong>: {{ this }}</p>
{{/with}}
{{> @partial-block }}
</div>
<div class="attribution">