diff --git a/templates/Parts/edit/edit_form_styles.html.twig b/templates/Parts/edit/edit_form_styles.html.twig index c4ec753e..b31132c6 100644 --- a/templates/Parts/edit/edit_form_styles.html.twig +++ b/templates/Parts/edit/edit_form_styles.html.twig @@ -138,6 +138,13 @@ {% endif %} + {% if attach.secure %} +
+ + {% trans %}attachment.secure{% endtrans %} + +
+ {% if attach.secure and not is_granted('show_private', attach) %} {# Leave blank #} {% elseif attach.picture %} @@ -155,13 +162,6 @@ {% endif %} - - {% if attach.secure %} -
- - {% trans %}attachment.secure{% endtrans %} - -
{% endif %} {% endif %}