Skip to content

Commit

Permalink
Fix labels for checkboxes (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane authored Nov 26, 2024
1 parent 26d5da5 commit c8f04ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions oioioi/base/templates/ingredients/form-horizontal.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{% else %}
{{ field | add_class:"form-check-input" }}
{% endif %}
<label class="form-check-label">
<label class="form-check-label" for="id_{{ field.name }}">
{{ field.label }}
</label>
</div>
Expand Down Expand Up @@ -83,4 +83,3 @@
</script>
{% endfor %}
{% endif %}

3 changes: 1 addition & 2 deletions oioioi/base/templates/ingredients/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% else %}
{{ field | add_class:"form-check-input" }}
{% endif %}
<label class="form-check-label">
<label class="form-check-label" for="id_{{ field.name }}">
{{ field.label }}
</label>
</div>
Expand Down Expand Up @@ -90,4 +90,3 @@
</script>
{% endfor %}
{% endif %}

0 comments on commit c8f04ff

Please sign in to comment.