From d9537005768d6bad3b6ccdc07678217d3be9b9c3 Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Mon, 5 Feb 2024 13:11:25 +0100 Subject: views: Add edit-folder Add view to modify folder information such as name --- ogcp/templates/actions/folder_update.html | 19 +++++++++++++++++++ ogcp/templates/scopes.html | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 ogcp/templates/actions/folder_update.html (limited to 'ogcp/templates') diff --git a/ogcp/templates/actions/folder_update.html b/ogcp/templates/actions/folder_update.html new file mode 100644 index 0000000..51985e4 --- /dev/null +++ b/ogcp/templates/actions/folder_update.html @@ -0,0 +1,19 @@ +{% extends 'scopes.html' %} +{% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} +{% set btn_back = true %} + +{% block nav_folder %} active{% endblock %} +{% block nav_folder_update %} active{% endblock %} +{% block content %} + +

{{_('Update folder')}}

+ +{{ wtf.quick_form(form, + method='post', + button_map={'submit': 'primary'}, + extra_classes="mx-5") }} + +{% endblock %} + diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 23b3d3c..6d3ab4b 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -64,6 +64,8 @@ -- cgit v1.2.3-18-g5258