Mercurial > libervia-templates
annotate sat_templates/templates/bulma/photo/create.html @ 325:8c779fb46384
bulma (components/block): interests_grid is more customisable:
- new `delete_icon` argument can be set to `false` if delete icon is not desired
- the macro can now be called, the caller then get 2 arguments: part to customise and
current interest. Part to customise can be:
* `header-title`: markup to put in the title
* `content`: car content (replaces the default `interest.name`)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 May 2021 18:44:47 +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 %} |