summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-12-12 11:28:44 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-12 11:42:43 +0100
commit0f5ba31c09067b7ee10fc376b8f899f9086050c7 (patch)
treed8442b5b1c461f7fb9fe04defc7e5c403763dc13 /ogcp/forms/action_forms.py
parent84bcdb3cae1ea13cc20bbf88dd9670733f44c02d (diff)
views: Add 'description' field to image details
Add a 'description' field to the image-details form.
Diffstat (limited to 'ogcp/forms/action_forms.py')
-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 ab5a011..d98a00a 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -193,6 +193,7 @@ class DeleteRoomForm(FlaskForm):
class ImageDetailsForm(FlaskForm):
name = StringField(label=_l('Name'))
+ description = StringField(label=_l('Description'))
size = DecimalField(label=_l('Size (MiB)'))
datasize = DecimalField(label=_l('Datasize (MiB)'))
modified = StringField(label=_l('Last update'))