Is there any way to get Django Crispy-forms to emit the layout for a checkbox in a slightly different way to accomodate Bootstrap Awesome Checkbox (https://github.com/flatlogic/awesome-bootstrap-checkbox)?
NOTE: this can't be done via a CSS change. The INPUT tag is no longer a child of the LABEL tag with the awesome-checkbox...it's a sibling at the same level as the LABEL tag. Crispy Forms renders like this:
<div class="checkbox">
<label>
<input type="checkbox"> Check me out
</label>
</div>
but awesome-checkbox needs to render like this:
<div class="checkbox">
<input type="checkbox" id="checkbox1">
<label for="checkbox1">
Check me out
</label>
</div>
There are many ways to implement this:
where 'boolean_field.html' is your version of
For example my date_field.html