Skip to content
Snippets Groups Projects
Commit d1fd1375 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

add reservation options to form and submission templates

parent 3fbb0908
Branches main
No related tags found
No related merge requests found
...@@ -38,10 +38,16 @@ attributes: ...@@ -38,10 +38,16 @@ attributes:
- [ "<%= p %>", "<%= p %>" ] - [ "<%= p %>", "<%= p %>" ]
<%- end -%> <%- end -%>
bc_reservation:
widget: "text_field"
label: Reservation
default: ""
form: form:
- desktop - desktop
- bc_num_hours - bc_num_hours
- bc_partition - bc_partition
- bc_reservation
- bc_num_gpus - bc_num_gpus
- bc_num_slots - bc_num_slots
- bc_num_mems - bc_num_mems
......
...@@ -25,7 +25,7 @@ script: ...@@ -25,7 +25,7 @@ script:
- "--mail-type=BEGIN" - "--mail-type=BEGIN"
- "--mail-user=<%= email %>" - "--mail-user=<%= email %>"
<%- end -%> <%- end -%>
<%- if bc_email_on_started == "1" -%> <%- if bc_reservation != "" -%>
- "--mail-type=BEGIN" - "--reservation=<%= bc_reservation %>"
- "--mail-user=<%= email %>"
<%- end -%> <%- end -%>
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