forked from mirrors/bookwyrm
Fix inline form
This commit is contained in:
parent
da8d8cd434
commit
2d157137aa
2 changed files with 12 additions and 12 deletions
|
@ -54,17 +54,17 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div class="columns is-gapless">
|
||||
<div class="column is-narrow">
|
||||
{% include 'snippets/shelve_button.html' with book=book %}
|
||||
{% active_shelf book as active_shelf %}
|
||||
</div>
|
||||
{% if active_shelf.identifier == 'reading' and book.latest_readthrough %}
|
||||
<div class="column">
|
||||
{% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="columns is-gapless">
|
||||
<div class="column is-narrow">
|
||||
{% include 'snippets/shelve_button.html' with book=book %}
|
||||
</div>
|
||||
{% active_shelf book as active_shelf %}
|
||||
{% if active_shelf.shelf.identifier == 'reading' and book.latest_readthrough %}
|
||||
<div class="column">
|
||||
{% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% include 'snippets/create_status.html' with book=book %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<input
|
||||
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Perent read{% endif%}"
|
||||
class="input is-small" type="text"
|
||||
name="progress" size="3" value="{{ readthrough.progress }}">
|
||||
name="progress" size="3" value="{{ readthrough.progress|default:"" }}">
|
||||
</div>
|
||||
<div class="control">
|
||||
{% if readthrough.progress_mode == 'PG' and book.pages %}
|
||||
|
|
Loading…
Reference in a new issue