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,9 +25,9 @@
<button class="button is-small" type="submit">Want to read</button> <button class="button is-small" type="submit">Want to read</button>
</form> </form>
{% endif %} {% endif %}
</div>
{% include 'snippets/shelve_button_dropdown.html' with class="is-small" button_uuid=uuid%} {% include 'snippets/shelve_button_dropdown.html' with class="is-small" button_uuid=uuid%}
{% endif %} {% endif %}
</div>
</div> </div>
{% include 'snippets/start_reading_modal.html' with book=active_shelf.book controls_text="start-reading" controls_uid=uuid %} {% 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"> <form name="switch-edition" action="/switch-edition" method="POST">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="edition" value="{{ edition.id }}"> <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> </form>