0001-templates-customize-django-s-radio-button-template-5.patch
gadjo/templates/django/forms/widgets/radio.html | ||
---|---|---|
1 |
{% with id=widget.attrs.id %}<ul{% if id %} id="{{ id }}"{% endif %}{% if widget.attrs.class %} class="{{ widget.attrs.class }}"{% endif %} aria-labelledby="{{ widget.name }}" role="radiogroup">{% for group, options, index in widget.optgroups %} |
|
2 |
{% for option in options %}<li>{% include option.template_name with widget=option %}</li>{% endfor %} |
|
3 |
{% endfor %} |
|
4 |
</ul>{% endwith %} |
|
0 |
- |