# HG changeset patch # User Goffi # Date 1592582233 -7200 # Node ID 11874a332add15fe428df595e9fa557034fd4743 # Parent cb08d92f181fa6f32e29c9b295c4397cb2388e0d photo/create: photo album creation diff -r cb08d92f181f -r 11874a332add sat_templates/templates/bulma/photo/create.html --- /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 %} +
+

+ {% trans %}Create an event{% endtrans %} +

+ {% call form.form(class="form--paper form__panel--vertical") %} + {{ field.text("name", _("album name"), required=true) }} + {{ field.submit(_("Create a photo album")) }} + {% endcall %} +
+{% endblock body %} diff -r cb08d92f181f -r 11874a332add sat_templates/templates/default/photo/create.html --- /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 %} +
+{% trans %}Create an event{% endtrans %} +
+
+{% call form.form(class="form--paper form__panel--vertical") %} + {{ field.text("name", _("album name"), required=true) }} + {{ field.submit(_("Create photo album")) }} +{% endcall %} +
+{% endblock body %}