Use custom checkbox for no_book and see_later. Close #30

This commit is contained in:
Gabriel Augendre 2018-06-15 23:52:48 +02:00
parent 188f80aa83
commit 5d8c2b9c21

View file

@ -19,10 +19,22 @@
</div>
<div class="form-row">
<div class="col-lg-6">
{% bootstrap_field form.no_book %}
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="{{ form.no_book.auto_id }}">
<label class="custom-control-label" for="{{ form.no_book.auto_id }}">{{ form.no_book.label }}</label>
<small class="form-text text-muted">
{{ form.no_book.help_text|safe }}
</small>
</div>
</div>
<div class="col-lg-6">
{% bootstrap_field form.see_later %}
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="{{ form.see_later.auto_id }}">
<label class="custom-control-label" for="{{ form.see_later.auto_id }}">{{ form.see_later.label }}</label>
<small class="form-text text-muted">
{{ form.see_later.help_text|safe }}
</small>
</div>
</div>
</div>
<div class="form-row">