Add folder name suggestions
[cds-indico.git] / indico / modules / attachments / templates / create_folder.html
blob8afdac1bf564e91c0168b81a3b64b09d527ba931
1 {% from 'forms/_form.html' import form_header, form_footer, form_rows %}
3 {% block content -%}
4 {{ form_header(form)}}
5 {{ form_rows(form, skip=('protected', 'acl')) }}
6 {{ form_rows(form, fields=('protected', 'acl')) }}
7 {{ protection_message | safe }}
8 {% call form_footer(attach_form) %}
9 <input class="i-button big highlight" data-disabled-until-change type="submit" value="{% trans %}Submit{% endtrans %}">
10 <button class="i-button big" data-button-back>{% trans %}Cancel{% endtrans %}</button>
11 {% endcall %}
12 <script>
13 aclIfProtected($('#protected'), $('#acl'), $('.self-protection-message'), $('.inherited-protection-message'), null,
14 $('.folder-protection-message'));
15 </script>
16 {%- endblock %}