-
Notifications
You must be signed in to change notification settings - Fork 5
/
form.yml.erb
51 lines (42 loc) · 959 Bytes
/
form.yml.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
cluster: "fox"
form:
- auto_accounts
- ec_alacarte
- ec_mem
- ec_cpus
- ec_gpus
- bc_num_hours
- ec_modules
attributes:
auto_accounts:
label: "Choose the Educloud project:"
help: |
<small>If you are unsure, ask the project principal</small>
<%= FormTemplate.fox_alacarte %>
ec_cpus:
label: "Number of CPU cores:"
widget: "number_field"
value: "1"
required: true
ec_gpus:
label: "Number of GPUs:"
widget: "number_field"
value: "0"
required: true
ec_mem:
label: "RAM (in GB):"
value: "1"
widget: "number_field"
required: true
bc_num_hours:
label: "Runtime (in hours) (required)"
widget: "number_field"
required: true
value: "1"
ec_modules:
label: "Additional modules (optional)"
value: ''
cacheable: false
help: <small>Space separated list of additional modules to load</br/>
Run `module avail` for a full list. </small>