summaryrefslogtreecommitdiffstats
path: root/templates/login.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-08-15 08:38:43 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-08-15 08:38:43 -0700
commitb522360a74a7d32fec85e8ae4ac4ba9a279b7a4c (patch)
tree1b3960d0d9ff035dfa815b4b3d3258558d34cf9b /templates/login.html.template
parentf6356df0131adb8098ff1fd5e8578707aa1af06b (diff)
downloadroseh.moe-b522360a74a7d32fec85e8ae4ac4ba9a279b7a4c.tar.zst
Fix html formatting
...finally
Diffstat (limited to 'templates/login.html.template')
-rw-r--r--templates/login.html.template42
1 files changed, 22 insertions, 20 deletions
diff --git a/templates/login.html.template b/templates/login.html.template
index 1aef0f2..ce46bd1 100644
--- a/templates/login.html.template
+++ b/templates/login.html.template
@@ -1,22 +1,24 @@
{{define "head"}}<title>Login</title>{{end}}
-<section>
- {{if .Error}}
- <p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password</p>
- {{end}}
- <form class="password-form" method="post">
- <table>
- <tr class="password-form-row">
- <td><label class="password-label" for="password">Enter password</label></td>
- <td><input id="password" class="password" type="password" name="password" autofocus></td>
- </tr>
- <tr class="password-form-row">
- <td><label class="password-label" for="auth">Google authenticator code</label></td>
- <td><input id="auth" class="password" name="auth"></td>
- </tr>
- <tr>
- <td></td>
- <td><input type="image" width="100" class="submit" src="/static/point.webp" alt="Submit"></td>
- </table>
- </form>
-</section>
+{{define "body" -}}
+ <section>
+ {{- if .Error}}
+ <p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password</p>
+ {{- end}}
+ <form class="password-form" method="post">
+ <table>
+ <tr class="password-form-row">
+ <td><label class="password-label" for="password">Enter password</label></td>
+ <td><input id="password" class="password" type="password" name="password" autofocus></td>
+ </tr>
+ <tr class="password-form-row">
+ <td><label class="password-label" for="auth">Google authenticator code</label></td>
+ <td><input id="auth" class="password" name="auth"></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><input type="image" width="100" class="submit" src="/static/point.webp" alt="Submit"></td>
+ </table>
+ </form>
+ </section>
+{{- end}}