1 {% from 'forms/_form.html' import form_header, form_footer, form_rows, form_row %}
5 {{ form_row(form.link_url, widget_attrs={'placeholder': 'Example: http://www.example.com/YourPDFFile.pdf'}) }}
6 {{ form_rows(form, skip=('link_url', 'folder', 'protected', 'acl')) }}
7 {{ form_row(form.folder) }}
8 {{ form_row(form.protected) }}
9 {{ form_row(form.acl) }}
10 {% call form_footer(attach_form) %}
11 <input class=
"i-button big highlight" type=
"submit" value=
"{% trans %}Submit{% endtrans %}">
12 <button class=
"i-button big" data-button-back
>{% trans %}Cancel{% endtrans %}
</button>
15 $('#folder').nullableselector();
16 aclIfProtected($('#protected'), $('#acl'));