forked from mirrors/bookwyrm
Remove useless if/else on null state radio button
This commit is contained in:
parent
fd2f452b46
commit
f2f2f3dd3e
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@
|
|||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
<input class="toggle-control" type="radio" name="recent-books" id="no-book" {% if shelf_counter == 1 and forloop.first %}checked{% endif %}>
|
||||
<div>
|
||||
<input class="toggle-control" type="radio" name="recent-books" id="no-book">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue