summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/actions')
-rw-r--r--ogcp/templates/actions/hardware.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/ogcp/templates/actions/hardware.html b/ogcp/templates/actions/hardware.html
index 70a24de..6b6e4d2 100644
--- a/ogcp/templates/actions/hardware.html
+++ b/ogcp/templates/actions/hardware.html
@@ -7,7 +7,13 @@
<h1 class="m-5">{{_('Hardware inventory')}}</h1>
-<h2 class="mb-3 mx-5">Selected client: {{ form.ips.data }}</h1>
+<h2 class="mb-3 mx-5">{{ _('Selected client:') }} {{ form.ips.data }}</h1>
+
+{{ wtf.quick_form(form,
+ action=url_for('action_hardware'),
+ method='post',
+ button_map={'refresh': 'primary'},
+ extra_classes='m-2')}}
<table class="table table-striped">
<thead class="thead-dark">
@@ -26,9 +32,5 @@
</tbody>
</table>
-{{ wtf.quick_form(form,
- action=url_for('action_hardware'),
- method='post',
- button_map={'refresh': 'primary'}) }}
{% endblock %}