annotate sat_templates/templates/default/photo/create.html @ 244:a62822c6a114

bulma: added a notification area + first dialog template for confirmation request
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +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 <div class='instructions--head'>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {% trans %}Create an event{% endtrans %}
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </div>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
11 <div class="box--hollow">
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 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 </div>
11874a332add photo/create: photo album creation
Goffi <goffi@goffi.org>
parents:
diff changeset
17 {% endblock body %}