1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-01-02 05:20:29 +00:00

Fix layout of identifiers on book edit page if starting with no identifiers

This commit is contained in:
Ozzie Isaacs 2024-11-23 10:49:54 +01:00
parent b28547b248
commit 65bcffc129

View File

@ -86,7 +86,7 @@
<div class="form-group">
<label>{{_('Identifiers')}}</label>
<table class="table" id="identifier-table">
<table class="table" id="identifier-table"><tbody>
{% for identifier in book.identifiers %}
<tr>
<td><input type="text" class="form-control" name="identifier-type-{{identifier.type}}" value="{{identifier.type}}" required="required" placeholder="{{_('Identifier Type')}}"></td>
@ -94,6 +94,7 @@
<td><a class="btn btn-default" onclick="removeIdentifierLine(this)">{{_('Remove')}}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
<a id="add-identifier-line" class="btn btn-default">{{_('Add Identifier')}}</a>
</div>