Mercurial > libervia-templates
annotate sat_templates/templates/default/photo/create.html @ 295:1de599c5a68f
bulma (base): loading screen:
when the `loading_screen` variable is set before extending `base/base.html`, a loading
modal is shown (and must be removed via JavaScript). This avoids the user to try to use an
interface which is not reactive or working normally because JS is not fully loaded yet.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Nov 2020 12:24:03 +0100 |
parents | 11874a332add |
children |
rev | line source |
---|---|
241 | 1 {# create a new event #} |
2 | |
3 {% extends 'base/base.html' %} | |
4 {% import 'input/form.html' as form with context %} | |
5 {% import 'input/field.html' as field with context %} | |
6 | |
7 {% block body %} | |
8 <div class='instructions--head'> | |
9 {% trans %}Create an event{% endtrans %} | |
10 </div> | |
11 <div class="box--hollow"> | |
12 {% call form.form(class="form--paper form__panel--vertical") %} | |
13 {{ field.text("name", _("album name"), required=true) }} | |
14 {{ field.submit(_("Create photo album")) }} | |
15 {% endcall %} | |
16 </div> | |
17 {% endblock body %} |