Add status type filters
This commit is contained in:
11
bookwyrm/templates/widgets/checkbox_select_horizontal.html
Normal file
11
bookwyrm/templates/widgets/checkbox_select_horizontal.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% with id=widget.attrs.id %}
|
||||
<div{% if id %} id="{{ id }}"{% endif %} class="field">
|
||||
<div class="control">
|
||||
{% for group, options, index in widget.optgroups %}
|
||||
{% for option in options %}
|
||||
{% include option.template_name with widget=option %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endwith %}
|
@ -0,0 +1,4 @@
|
||||
<label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}>
|
||||
{% include "django/forms/widgets/input.html" %}
|
||||
{{ widget.label }}
|
||||
</label>
|
Reference in New Issue
Block a user