2020-10-22 16:50:40 +00:00
|
|
|
{{ define "form-base" }}
|
|
|
|
<script>
|
2020-12-07 22:46:17 +00:00
|
|
|
window.usernameEnabled = {{ .username }};
|
2020-10-30 22:51:47 +00:00
|
|
|
window.validationStrings = JSON.parse({{ .lang.validationStrings }});
|
2020-11-04 20:46:06 +00:00
|
|
|
window.invalidPassword = "{{ .lang.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 }}
|