django-bs

Bootstrap integration for django using widget templates
git clone https://git.ce9e.org/django-bs.git

commit
91e4c2314aefbc7ce5eaa159dfd5f0c4beb3d549
parent
c2a4a59d7376d84d98ae5809516f138bae9ee073
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-04-18 19:45
use same font size for <legand> as for <label>

Diffstat

M django_bs/templates/bs/field.html 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/django_bs/templates/bs/field.html b/django_bs/templates/bs/field.html

@@ -7,7 +7,7 @@
    7     7     {% else %}
    8     8         {% if show_label %}
    9     9             {% if fieldset %}
   10    -1                 <legend class="form-label {% if show_label == 'sr-only' %}visually-hidden{% endif %}">{{ field.label }}</legend>
   -1    10                 <legend class="form-label fs-6 {% if show_label == 'sr-only' %}visually-hidden{% endif %}">{{ field.label }}</legend>
   11    11             {% else %}
   12    12                 <label class="form-label {% if show_label == 'sr-only' %}visually-hidden{% endif %}" for="{{ field.id_for_label }}">{{ field.label }}</label>
   13    13             {% endif %}