wcs: remove redundant "for" class on family recurrent widget (#87889)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Nicolas Roche 2024-03-07 15:33:30 +01:00
parent f0f06875c8
commit 7d6e6f14dd
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@
{% for day, options in options_list %}
{% for option in options %}
<li data-date="{{ option.options.date }}">
<label for="{{ widget.get_name_for_id }}_op_{{ forloop.counter0 }}">
<label for="{{ widget.get_name_for_id }}_op_{{ forloop.parentloop.counter0 }}.{{ forloop.counter0 }}">
<input
id="{{ widget.get_name_for_id }}_op_{{ forloop.counter0 }}"
id="{{ widget.get_name_for_id }}_op_{{ forloop.parentloop.counter0 }}.{{ forloop.counter0 }}"
{% if option.selected %}checked="checked"
{% elif widget.readonly or option.disabled %}disabled{% endif %}
{% for attr in widget.attrs.items %}{{attr.0}}="{{attr.1}}"{% endfor %}