annotate sat_templates/templates/bulma/photo/create.html @ 289:f1a39607d6a5
bulma (base/base.html): `full_screen_body` parameter + body_wrapper:
- if `full_screen_body` is set in template, the `body--fullscreen` class will be added to
`<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport.
- new `body_wrapper` block, if a page needs to replace the `#body` container.
author |
Goffi <goffi@goffi.org> |
date |
Mon, 28 Sep 2020 17:25:26 +0200 |
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 <section class="section"> |
|
9 <h3 class='title is-3'> |
|
10 {% trans %}Create an event{% endtrans %} |
|
11 </h3> |
|
12 {% call form.form(class="form--paper form__panel--vertical") %} |
|
13 {{ field.text("name", _("album name"), required=true) }} |
|
14 {{ field.submit(_("Create a photo album")) }} |
|
15 {% endcall %} |
|
16 </section> |
|
17 {% endblock body %} |