From c5cb75eea341805c6b5d2109b86138ff2c7bd00f Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Wed, 23 Feb 2022 09:58:30 +0100 Subject: Move 'Update' button up in hardware view --- ogcp/templates/actions/hardware.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'ogcp/templates') 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 @@

{{_('Hardware inventory')}}

-

Selected client: {{ form.ips.data }}

+

{{ _('Selected client:') }} {{ form.ips.data }}

+ +{{ wtf.quick_form(form, + action=url_for('action_hardware'), + method='post', + button_map={'refresh': 'primary'}, + extra_classes='m-2')}} @@ -26,9 +32,5 @@
-{{ wtf.quick_form(form, - action=url_for('action_hardware'), - method='post', - button_map={'refresh': 'primary'}) }} {% endblock %} -- cgit v1.2.3-18-g5258