This commit entirely refactors the use of html templates. Instead of inheriting from a shared template, we insert the results into a base template.
12 lines
No EOL
291 B
HTML
12 lines
No EOL
291 B
HTML
{{ template "form.html" . }}
|
|
|
|
{{ define "form/button" }}Disable{{ end }}
|
|
|
|
{{ define "form/inside" }}
|
|
<div>
|
|
<ul>
|
|
<li>remove the TOTP token from your account</li>
|
|
<li>your account will be less secure, but you will be able to login without it</li>
|
|
</ul>
|
|
</div>
|
|
{{ end }} |