Mercurial > libervia-templates
changeset 241:11874a332add
photo/create: photo album creation
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 17:57:13 +0200 |
parents | cb08d92f181f |
children | bb5193cef770 |
files | sat_templates/templates/bulma/photo/create.html sat_templates/templates/default/photo/create.html |
diffstat | 2 files changed, 34 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/photo/create.html Fri Jun 19 17:57:13 2020 +0200 @@ -0,0 +1,17 @@ +{# create a new event #} + +{% extends 'base/base.html' %} +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} + +{% block body %} +<section class="section"> + <h3 class='title is-3'> + {% trans %}Create an event{% endtrans %} + </h3> + {% call form.form(class="form--paper form__panel--vertical") %} + {{ field.text("name", _("album name"), required=true) }} + {{ field.submit(_("Create a photo album")) }} + {% endcall %} +</section> +{% endblock body %}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/default/photo/create.html Fri Jun 19 17:57:13 2020 +0200 @@ -0,0 +1,17 @@ +{# create a new event #} + +{% extends 'base/base.html' %} +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} + +{% block body %} +<div class='instructions--head'> +{% trans %}Create an event{% endtrans %} +</div> +<div class="box--hollow"> +{% call form.form(class="form--paper form__panel--vertical") %} + {{ field.text("name", _("album name"), required=true) }} + {{ field.submit(_("Create photo album")) }} +{% endcall %} +</div> +{% endblock body %}