Add button to 'Add Attachment to Description'

This commit is contained in:
2016-11-02 16:16:13 +01:00
parent ae859d3ea7
commit 4bd334e403
2 changed files with 17 additions and 0 deletions

View File

@@ -15,6 +15,14 @@
| {% for subfield in file %}
| {{ render_field(subfield) }}
| {% if subfield.name.endswith('slug') %}
button.fieldlist-action-button.js-append-attachment(
type="button")
i.pi-plus
| Append to Description
| {% endif %}
| {% endfor %}
| {% endfor %}