Register form tweaked
This commit is contained in:
17
templates/forms/inputs/register-locale.html.twig
Normal file
17
templates/forms/inputs/register-locale.html.twig
Normal 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 %}
|
||||
Reference in New Issue
Block a user