summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-01 11:41:04 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-04 09:28:49 +0200
commitf86eaffefe26607c9dbef2f94cf77a883fe38ede (patch)
treeeb1d5a34d874fb56d1c255a3f8edd9cd227817fe /ogcp/views.py
parent69b127a4f7c81f9e6a3613937bec3009383c11a2 (diff)
Add form for disk selection
Disk selection uses "scopesForm" to submit the change, but setup/show view receives new parameters not provided by this form. Commit 17757baa4727 adds those parameters. This commit gives disk selection its own form with all the required parameters.
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index c3c1fef..2f2e01d 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -408,6 +408,8 @@ def action_setup_show():
disks=disks,
form=form,
disk_size=disk_size,
+ ips=ips_str,
+ base_client=base_client,
scopes=scopes)
@app.route('/action/setup', methods=['POST'])