Skip to content
Snippets Groups Projects
Commit 26def2b3 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Set gpu and cpu as a number field

parent 244eebc4
No related branches found
No related tags found
1 merge request!3Add form.js
......@@ -5,6 +5,7 @@ attributes:
value: 1
bc_num_slots:
widget: "number_field"
label: Number of CPU
value: 1
min: 1
......@@ -20,6 +21,7 @@ attributes:
step: 1
bc_num_gpus:
widget: "number_field"
label: Number of GPUs
value: 1
min: 1
......@@ -56,7 +58,7 @@ attributes:
reserve_node:
widget: check_box
label: "Reserve the entire node"
form:
- version
- bc_num_hours
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment