8af1c13d7e
two new strings need translating in lang/form.
12 lines
417 B
HTML
12 lines
417 B
HTML
{{ define "form-base" }}
|
|
<script>
|
|
window.usernameEnabled = {{ .username }};
|
|
window.validationStrings = JSON.parse({{ .validationStrings }});
|
|
window.invalidPassword = "{{ .strings.reEnterPasswordInvalid }}";
|
|
window.URLBase = "{{ .urlBase }}";
|
|
window.code = "{{ .code }}";
|
|
window.messages = JSON.parse({{ .notifications }});
|
|
</script>
|
|
<script src="js/form.js" type="module"></script>
|
|
{{ end }}
|