mirror of https://git.48k.eu/ogcp
templates: force OS selection in Boot OS form
Prevent backtrace when not OS is selected before the form submit. Add 'required' attribute to the <input> elements of each OS option in the Boot OS form.master 1.1.3-24
parent
471cb78676
commit
6ce7dd7625
|
@ -36,7 +36,7 @@ The selected clients have different installed OS:
|
|||
{% for os_choice in form.os %}
|
||||
<tr data-toggle="fieldset-entry">
|
||||
<td class="radio-container">
|
||||
{{ os_choice(class_="form-control") }}
|
||||
{{ os_choice(class_="form-control", required=True) }}
|
||||
<b>{{ os_choice.label.text }}</b>
|
||||
</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in New Issue