Fixes misplaced close diff causing cascading nesting on editions page

This commit is contained in:
Mouse Reeve 2021-01-18 12:22:11 -08:00
parent ba536270d6
commit 25643faf72
2 changed files with 2 additions and 2 deletions

View file

@ -25,10 +25,10 @@
<button class="button is-small" type="submit">Want to read</button>
</form>
{% endif %}
</div>
{% include 'snippets/shelve_button_dropdown.html' with class="is-small" button_uuid=uuid%}
{% endif %}
</div>
</div>
{% include 'snippets/start_reading_modal.html' with book=active_shelf.book controls_text="start-reading" controls_uid=uuid %}

View file

@ -1,5 +1,5 @@
<form name="switch-edition" action="/switch-edition" method="POST">
{% csrf_token %}
<input type="hidden" name="edition" value="{{ edition.id }}">
<button class="button {{ size }}">Switch to this edition</button>
<button type="submit" class="button {{ size }}">Switch to this edition</button>
</form>