Use custom checkbox for no_book and see_later. Close #30
This commit is contained in:
parent
188f80aa83
commit
5d8c2b9c21
1 changed files with 14 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue