You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{{ 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 }});
|
|
|
|
window.confirmation = {{ .confirmation }};
|
|
|
|
window.userDurationEnabled = {{ .userDuration }};
|
|
|
|
window.userDurationDays = {{ .userDurationDays }};
|
|
|
|
window.userDurationHours = {{ .userDurationHours }};
|
|
|
|
window.userDurationMinutes = {{ .userDurationMinutes }};
|
|
|
|
window.userDurationMessage = {{ .userDurationMessage }};
|
|
|
|
</script>
|
|
|
|
<script src="js/form.js" type="module"></script>
|
|
|
|
{{ end }}
|