diff sat_templates/templates/default/photo/create.html @ 241:11874a332add

photo/create: photo album creation
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents
children
line wrap: on
line diff
--- /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 %}