0001-a11y-add-title-attribute-to-asterisk-marking-require.patch
gadjo/templates/gadjo/widget.html | ||
---|---|---|
1 |
{% load i18n %} |
|
1 | 2 |
<div class="widget |
2 | 3 |
{{ field.css_classes }} |
3 | 4 |
{% if field.errors %}widget-with-error{% endif %} |
... | ... | |
6 | 7 |
{% block widget-title %} |
7 | 8 |
<div class="title"> |
8 | 9 |
{{ field.label_tag }} |
9 |
{% if field.field.required %}<span class="required">*</span>{% endif %} |
|
10 |
{% if field.field.required %}<span title="{% trans "This field is required." %}" class="required">*</span>{% endif %}
|
|
10 | 11 |
</div> |
11 | 12 |
{% endblock %} |
12 | 13 |
{% block widget-content %} |
13 |
- |