2020-10-22 16:50:40 +00:00
|
|
|
{{ define "form-base" }}
|
|
|
|
<script>
|
2020-12-07 22:46:17 +00:00
|
|
|
window.usernameEnabled = {{ .username }};
|
2021-01-18 22:06:50 +00:00
|
|
|
window.validationStrings = JSON.parse({{ .validationStrings }});
|
|
|
|
window.invalidPassword = "{{ .strings.reEnterPasswordInvalid }}";
|
2020-11-22 16:36:43 +00:00
|
|
|
window.URLBase = "{{ .urlBase }}";
|
2021-01-14 14:22:20 +00:00
|
|
|
window.code = "{{ .code }}";
|
2020-10-22 16:50:40 +00:00
|
|
|
</script>
|
2021-01-05 18:16:23 +00:00
|
|
|
<script src="js/form.js" type="module"></script>
|
2020-10-22 16:50:40 +00:00
|
|
|
{{ end }}
|