annotate sat_templates/templates/bulma/photo/create.html @ 282:46eee98c19d8

bulma (photo/album): accept videos for upload
author Goffi <goffi@goffi.org>
date Tue, 25 Aug 2020 08:43:32 +0200
parents 11874a332add
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
241
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {# create a new event #}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
2
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% extends 'base/base.html' %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'input/form.html' as form with context %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {% import 'input/field.html' as field with context %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
6
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
7 {% block body %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <section class="section">
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <h3 class='title is-3'>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% trans %}Create an event{% endtrans %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
11 </h3>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% call form.form(class="form--paper form__panel--vertical") %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ field.text("name", _("album name"), required=true) }}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {{ field.submit(_("Create a photo album")) }}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% endcall %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </section>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
17 {% endblock body %}