Including all attachments in case there are no filters chosen
[cds-indico.git] / indico / modules / attachments / templates / generate_package.html
blob8071450c6cfe167999071bac7f96bae185b9d871
1 {% from 'forms/_form.html' import form_header, form_footer, form_row %}
3 <div class="i-box-group vert fixed-width attachments-package">
4 <div class="i-box titled no-padding">
5 <div class="i-box-header">
6 <div class="i-box-title">{%- trans %}Material Package{% endtrans -%}</div>
7 </div>
8 <div class="i-box-content">
9 {{ form_header(form) }}
10 {{ form_row(form.added_since) }}
11 {% if form.sessions.choices %}
12 {{ form_row(form.sessions) }}
13 {% endif %}
14 {% if form.contributions.choices %}
15 {{ form_row(form.contributions) }}
16 {% endif %}
17 {% if form.contributions_schedule_dates.choices %}
18 {{ form_row(form.contributions_schedule_dates) }}
19 {% endif %}
20 {% call form_footer(form) %}
21 <input type="submit" class='i-button big highlight' value="{% trans %}Download package{% endtrans %}">
22 {% endcall %}
23 </div>
24 </div>
25 </div>
27 <script>
28 $('#added_since').datepicker();
29 </script>