Fix picture disappearing if unavailable item.
This commit is contained in:
parent
1051dc8492
commit
c2d75ee725
1 changed files with 0 additions and 2 deletions
|
@ -30,11 +30,9 @@
|
|||
<label for="identifier" class="form-label">Identifier</label>
|
||||
<input type="text" class="form-control-plaintext" value="{{ item.identifier }}" readonly>
|
||||
</div>
|
||||
{% if not item.condition in ["Removed", "Disposed"] %}
|
||||
<div class="col">
|
||||
{{ images.render_image(item.id, item.image, enabled = item.condition not in ["Removed", "Disposed"]) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue