Remove useless if/else on null state radio button

This commit is contained in:
Mouse Reeve 2020-12-22 10:12:41 -08:00
parent fd2f452b46
commit f2f2f3dd3e

View file

@ -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>