{% from 'forms/_form.html' import form_header, form_footer, form_rows, form_row %} {%- block content %} {{ form_header(form, id='attachment-link-form')}} {{ form_row(form.link_url, widget_attrs={'placeholder': 'Example: http://www.example.com/YourPDFFile.pdf'}) }} {{ form_rows(form, fields=('title', 'description', 'folder', 'protected')) }} {{ protection_message | safe }} {{ form_rows(form, fields=('acl',)) }} {% call form_footer(attach_form) %} {% endcall %} {%- endblock %}