summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-10 11:23:37 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-10 11:31:15 +0100
commit2509cacc005832b37e181f6a6a4795f5c7e1fff9 (patch)
treea8ccc3610fa773e4ea0d34a6af6cfc0be0483216 /ogcp/forms
parent695fcfe6255fd53b19b416e8375b48d2dc5595e4 (diff)
views: Add delete folder
Add functionality to allow the user to delete a folder. Show a confirmation page to the user listing the content of the folder that is about to delete
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index 9110913..cbdaaaa 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -106,6 +106,7 @@ class RepoForm(FlaskForm):
submit = SubmitField(label=_l('Submit'))
class FolderForm(FlaskForm):
+ folder_id = HiddenField()
server = HiddenField()
room = HiddenField()
center = HiddenField()