a11y: add custom rendering for radio inputs (#54642)

This commit is contained in:
Serghei Mihai 2021-08-13 12:20:35 +02:00
parent 006689665a
commit 4b3acfd876
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{% extends "gadjo/widget.html" %}
{% block widget-attrs %}role="radiogroup"{% endblock %}
{% block widget-control %}
{% for option in field %}
{{ option }}
{% endfor %}
{% endblock %}