mirror of
https://github.com/janeczku/calibre-web
synced 2025-01-06 15:30:30 +00:00
Fix layout of identifiers on book edit page if starting with no identifiers
This commit is contained in:
parent
b28547b248
commit
65bcffc129
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>{{_('Identifiers')}}</label>
|
<label>{{_('Identifiers')}}</label>
|
||||||
<table class="table" id="identifier-table">
|
<table class="table" id="identifier-table"><tbody>
|
||||||
{% for identifier in book.identifiers %}
|
{% for identifier in book.identifiers %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="text" class="form-control" name="identifier-type-{{identifier.type}}" value="{{identifier.type}}" required="required" placeholder="{{_('Identifier Type')}}"></td>
|
<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>
|
<td><a class="btn btn-default" onclick="removeIdentifierLine(this)">{{_('Remove')}}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a id="add-identifier-line" class="btn btn-default">{{_('Add Identifier')}}</a>
|
<a id="add-identifier-line" class="btn btn-default">{{_('Add Identifier')}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user