File tree Expand file tree Collapse file tree
templates/django/forms/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 value ="{{ widget.value|stringformat:'s' }} "{% endif %}{% include "django/forms/widgets/attrs.html" %} >
66 {% endwith %}
77{% else %}
8- < label class ="toggle toggle-sm toggle-primary checked:border-success checked:bg-success text-base-content ">
9- < input type ="{{ widget.type }} " name ="{{ widget.name }} " {% if widget.value ! = None %}
10- value ="{{ widget.value|stringformat:'s' }} "{% endif %}{% include "django/forms/widgets/attrs.html" %} >
11- < svg
8+ < label class ="text-base-content toggle toggle-sm ">
9+ {% with widget=widget|apply_class_to_widget:'' %}
10+ < input class ="toggle-primary " type ="{{ widget.type }} " name ="{{ widget.name }} " {% if widget.value ! = None %}
11+ value ="{{ widget.value|stringformat:'s' }} "{% endif %}{% include "django/forms/widgets/attrs.html" %} >
12+ {% endwith %}
13+ < svg class =" rounded-full "
1214 aria-label ="enabled "
1315 xmlns ="http://www.w3.org/2000/svg "
1416 viewBox ="0 0 24 24 "
15- fill ="none "
17+ fill ="red "
1618 stroke ="currentColor "
1719 stroke-width ="4 "
1820 stroke-linecap ="round "
2123 < path d ="M18 6 6 18 "/>
2224 < path d ="m6 6 12 12 "/>
2325 </ svg >
24- < svg aria-label ="disabled " xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 ">
26+ < svg class =" bg-success rounded-full " aria-label ="disabled " xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 ">
2527 < g
2628 stroke-linejoin ="round "
2729 stroke-linecap ="round "
You can’t perform that action at this time.
0 commit comments