summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-04 10:42:14 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-04 10:50:52 +0200
commit23b49f0a6aa2579b174c003051af4ad1066b8014 (patch)
tree87ca0ad9a108beed5fe1686c3937b32a9d24dbf5 /ogcp/views.py
parent3f06fe23aaf800f458d17a647363a3e440b00502 (diff)
templates: add image name to title in image/config
Add image name to the title in the view image/config.
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 692bef1..705605b 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -3914,6 +3914,7 @@ def action_image_config():
server = get_server_from_ip_port(params['image-server'])
form.image_id.data = image_id
+ form.name.data = image_name
r = server.get('/image/restrict', {'image': int(image_id)})
if not r: