mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-03-30 07:05:29 +00:00
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>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="columns is-gapless">
|
<div class="columns is-gapless">
|
||||||
<div class="column is-narrow">
|
<div class="column is-narrow">
|
||||||
{% include 'snippets/shelve_button.html' with book=book %}
|
{% include 'snippets/shelve_button.html' with book=book %}
|
||||||
{% active_shelf book as active_shelf %}
|
</div>
|
||||||
</div>
|
{% active_shelf book as active_shelf %}
|
||||||
{% if active_shelf.identifier == 'reading' and book.latest_readthrough %}
|
{% if active_shelf.shelf.identifier == 'reading' and book.latest_readthrough %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %}
|
{% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% include 'snippets/create_status.html' with book=book %}
|
{% include 'snippets/create_status.html' with book=book %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<input
|
<input
|
||||||
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Perent read{% endif%}"
|
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Perent read{% endif%}"
|
||||||
class="input is-small" type="text"
|
class="input is-small" type="text"
|
||||||
name="progress" size="3" value="{{ readthrough.progress }}">
|
name="progress" size="3" value="{{ readthrough.progress|default:"" }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
{% if readthrough.progress_mode == 'PG' and book.pages %}
|
{% if readthrough.progress_mode == 'PG' and book.pages %}
|
||||||
|
|
Loading…
Reference in a new issue