Allow to specify a preview attachment in the AdminPages.

This commit is contained in:
Jan Böhmer 2019-10-03 13:42:06 +02:00
parent 280b2d4427
commit d9fe77d0e8
5 changed files with 120 additions and 26 deletions

View file

@ -67,6 +67,10 @@
{% trans %}attachment.create{% endtrans %}
</button>
{% block master_picture_block %}
{{ form_row(form.master_picture_attachment) }}
{% endblock %}
<script>
function delete_attachment_entry(btn) {
window.bootbox.confirm('{% trans %}part_lot.edit.delete.confirm{% endtrans %}', function (result) {