Removed trailing comma on edit page
This commit is contained in:
OzzieIsaacs 2018-09-02 14:05:09 +02:00
parent 66824ff4e4
commit 3f2d0ea7bb

View File

@ -69,7 +69,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="tags">{{_('Tags')}}</label> <label for="tags">{{_('Tags')}}</label>
<input type="text" class="form-control typeahead" name="tags" id="tags" value="{% for tag in book.tags %}{{tag.name.strip()}}, {% endfor %}"> <input type="text" class="form-control typeahead" name="tags" id="tags" value="{% for tag in book.tags %}{{tag.name.strip()}}{% if not loop.last %}, {% endif %}{% endfor %}">
</div> </div>
<div class="form-group"> <div class="form-group">
@ -102,7 +102,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="languages">{{_('Language')}}</label> <label for="languages">{{_('Language')}}</label>
<input type="text" class="form-control typeahead" name="languages" id="languages" value="{% for language in book.languages %}{{language.language_name.strip()}}{% endfor %}"> <input type="text" class="form-control typeahead" name="languages" id="languages" value="{% for language in book.languages %}{{language.language_name.strip()}}{% if not loop.last %}, {% endif %}{% endfor %}">
</div> </div>
{% if cc|length > 0 %} {% if cc|length > 0 %}