Projet

Général

Profil

0001-templates-set-id-for-widget-labels-55297.patch

Serghei Mihai, 01 juillet 2021 12:06

Télécharger (903 octets)

Voir les différences:

Subject: [PATCH] templates: set id for widget labels (#55297)

 gadjo/templates/gadjo/widget.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gadjo/templates/gadjo/widget.html
6 6
            {% if field.field.required %}widget-required{% else %}widget-optional{% endif %}"
7 7
     id="{{field.id_for_label}}_p">
8 8
  {% block widget-title %}
9
  <div class="title">
9
  <div class="title" id="{{ field.name }}">
10 10
    {{ field.label_tag }}
11 11
    {% if field.field.required %}
12 12
    <span title="{% trans "This field is required." %}" class="required">*</span>
13
-