annotate sat_templates/templates/default/photo/create.html @ 317:ae903ca0ed66

bulma (input/field): color can now be specified for `submit` button
author Goffi <goffi@goffi.org>
date Thu, 29 Apr 2021 15:52:34 +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 %}