summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/setup.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html
index 9d8fc28..a2b382a 100644
--- a/ogcp/templates/actions/setup.html
+++ b/ogcp/templates/actions/setup.html
@@ -27,16 +27,12 @@
<tbody data-target="partitons-fieldset" id="setupTable" class="text-center">
<tr>
<td>
- <select form="changeDiskForm" name="disk">
+ <select form="changeDiskForm" name="disk" onchange="this.form.submit()">
{% for disk in disks %}
<option {% if disk == selected_disk %}selected{% endif %}
value="{{ disk }}">{{ disk }}</option>
{% endfor %}
</select>
- <button class="btn btn-dark" form="changeDiskForm" formmethod="get"
- formaction="{{ url_for('action_setup_show') }}">
- {{ _('Change disk') }}
- </button>
</td>
{{ form.hidden_tag() }}
<td>{{ form.disk_type(class_="form-control") }}</td>