|
@@ -24,22 +24,6 @@
|
|
|
{% endspaceless %}
|
|
|
{% endblock textarea_widget %}
|
|
|
|
|
|
-{% block widget_choice_options %}
|
|
|
-{% spaceless %}
|
|
|
- {% for index, choice in options %}
|
|
|
- {% if _form_is_choice_group(choice) %}
|
|
|
- <optgroup label="{{ choice.label|trans }}">
|
|
|
- {% for nestedIndex, nestedChoice in choice %}
|
|
|
- <option value="{{ nestedChoice.value }}"{% if _form_is_choice_selected(form, nestedChoice) %} selected="selected"{% endif %}>{{ nestedChoice.label|trans }}</option>
|
|
|
- {% endfor %}
|
|
|
- </optgroup>
|
|
|
- {% else %}
|
|
|
- <option value="{{ choice.value }}"{% if _form_is_choice_selected(form, choice) %} selected="selected"{% endif %}>{{ choice.label|trans }}</option>
|
|
|
- {% endif %}
|
|
|
- {% endfor %}
|
|
|
-{% endspaceless %}
|
|
|
-{% endblock widget_choice_options %}
|
|
|
-
|
|
|
{% block choice_widget %}
|
|
|
{% spaceless %}
|
|
|
{% if expanded %}
|