summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-02-10 11:58:46 +0000
committerJose M. Guisado <jguisado@soleta.eu>2021-02-10 11:58:46 +0000
commit989dc5bd36959c785ffabab02eade3a0719e6093 (patch)
tree64146f30c76781d12424555f01faeb670e60a226 /ogcp/templates
parent3eda3fa68487a81e67f844e01ad7a6edf646d627 (diff)
Add image create template
Image creation action was lacking a template to render the form. This patch adds said template. Also redirects to /scopes when the request was processed by the ogserver successfully.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/image_create.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/ogcp/templates/actions/image_create.html b/ogcp/templates/actions/image_create.html
new file mode 100644
index 0000000..2e2b4f9
--- /dev/null
+++ b/ogcp/templates/actions/image_create.html
@@ -0,0 +1,11 @@
+{% extends 'base.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% block content %}
+
+{{ wtf.quick_form(form,
+ action=url_for('action_image_create'),
+ method='post',
+ button_map={'create': 'primary'}) }}
+
+{% endblock %}