Shelfs of diffrent users can have the same name now

Removing ratings by giving a rating of zero is now possible (like in calibre)
This commit is contained in:
OzzieIsaacs
2017-01-03 19:29:33 +01:00
parent 00ffc87a2b
commit 490f8ef5f2
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
</div>
<div class="form-group">
<label for="rating">{{_('Rating')}}</label>
<input type="number" min="1" max="5" step="1" class="form-control" name="rating" id="rating" value="{% if book.ratings %}{{book.ratings[0].rating / 2}}{% endif %}">
<input type="number" min="0" max="5" step="1" class="form-control" name="rating" id="rating" value="{% if book.ratings %}{{book.ratings[0].rating / 2}}{% endif %}">
</div>
<div class="form-group">
<label for="cover_url">{{_('Cover URL (jpg)')}}</label>