Fix attributes of country select in public booking page

This commit is contained in:
jordi fita mas 2024-04-22 18:44:22 +02:00
parent 0e22096447
commit dab19bbc4d
1 changed files with 5 additions and 2 deletions

View File

@ -184,9 +184,12 @@
<label> <label>
{{( pgettext "Country" "input" )}}<br> {{( pgettext "Country" "input" )}}<br>
<select name="{{ .Name }}" <select name="{{ .Name }}"
required autocomplete="country"> required
autocomplete="country"
{{ template "error-attrs" . }}
>
<option>{{( gettext "Choose a country" )}}</option> <option>{{( gettext "Choose a country" )}}</option>
{{ template "error-attrs" . }}>{{ template "list-options" . }} {{ template "list-options" . }}
</select><br> </select><br>
{{ template "error-message" . }} {{ template "error-message" . }}
</label> </label>