1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-15 23:00:10 +00:00
jfa-go/html/form-base.html

11 lines
363 B
HTML
Raw Normal View History

{{ define "form-base" }}
<script>
window.usernameEnabled = {{ .username }};
2020-10-30 22:51:47 +00:00
window.validationStrings = JSON.parse({{ .lang.validationStrings }});
window.invalidPassword = "{{ .lang.reEnterPasswordInvalid }}";
window.URLBase = "{{ .urlBase }}";
window.code = "{{ .code }}";
</script>
<script src="js/form.js" type="module"></script>
{{ end }}