mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Add error message display to login page
This commit is contained in:
parent
1e0cfe5270
commit
90234ee58b
1 changed files with 6 additions and 0 deletions
|
|
@ -65,6 +65,12 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
{{if .Error}}
|
||||||
|
<div class="alert alert-error" style="margin-bottom: 1.5rem;">
|
||||||
|
{{.Error}}
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
<form method="POST" action="/login">
|
<form method="POST" action="/login">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="login">Username</label>
|
<label for="login">Username</label>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue