Register form tweaked

This commit is contained in:
2023-06-01 15:52:37 +01:00
parent ff871bdbbf
commit 9b229fc6ee
10 changed files with 328 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{% block input_register_locale %}
{% if 'locale' not in form.fields.hidden %}
{% if col_width %}<div class="{{col_width}}">{% endif %}
<div class="form-group">
<label for="r-form-locale" class="control-label">{{translate("LOCALE")}}</label>
<select id="r-form-locale" class="form-control js-select2" name="locale">
{% for option, label in locales.available %}
{% if label is not empty %}
<option value="{{option}}" {% if (option == locales.current) %}selected{% endif %}>{{label}}</option>
{% endif %}
{% endfor %}
</select>
<p class="help-block">{{translate("LOCALE.ACCOUNT")}}.</p>
</div>
{% if col_width %}</div>{% endif %}
{% endif %}
{% endblock %}