1886323d74
Boot custom CSS, and put some base, standard css in its place. Shame I did not start with fresh Bootstrap4, but oh well. Some more templates could be made to make this less messy, which would be good.
3 lines
385 B
HTML
3 lines
385 B
HTML
{% if wrap_label %}<label class="form-check-label"{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}>{% endif %}
|
|
<input class="form-check-input" type="{{ widget.type }}" name="{{ widget.name }}"{% if widget.value != None %} value="{{ widget.value }}"{% endif %}{% include "django/forms/widgets/attrs.html" %} />
|
|
{% if wrap_label %} {{ widget.label }}</label>{% endif %}
|