fix search label and login view not define header
This commit is contained in:
parent
84576f2c29
commit
c217a31444
2 changed files with 5 additions and 2 deletions
|
@ -116,10 +116,10 @@
|
|||
<search role="search" class="search">
|
||||
<details {{ if $.searchQuery }}open{{ end }}>
|
||||
<summary>
|
||||
<span id="search-label">{{ t "search.label" }}</span>
|
||||
<span>{{ t "search.label" }}</span>
|
||||
</summary>
|
||||
<form action="{{ route "searchEntries" }}" aria-labelledby="search-input-label">
|
||||
<input type="search" name="q" aria-labelledby="search-label" {{ if $.searchQuery }}value="{{ .searchQuery }}"{{ end }} required>
|
||||
<input type="search" name="q" aria-label="{{ t "search.label" }}" {{ if $.searchQuery }}value="{{ .searchQuery }}"{{ end }} required>
|
||||
<button type="submit">{{ t "search.submit" }}</button>
|
||||
</form>
|
||||
</details>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{{ define "title"}}{{ t "page.login.title" }}{{ end }}
|
||||
|
||||
|
||||
{{ define "header"}}{{ end }}
|
||||
|
||||
{{ define "content"}}
|
||||
<section class="login-form">
|
||||
<form action="{{ route "checkLogin" }}" method="post">
|
||||
|
|
Loading…
Reference in a new issue