From bb70aa7108621f4a80438d4082293de3baca3436 Mon Sep 17 00:00:00 2001 From: Tymoteusz Jankowski Date: Thu, 26 Mar 2015 11:41:14 +0100 Subject: [PATCH] Fixed 'Management address' in form of Addresses tab. Removed redundant button in the form + added submit name to the form so that view can save the form (view checks for specific name in request to save it) --- src/ralph/ui/templates/ui/device_addresses.html | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/ralph/ui/templates/ui/device_addresses.html b/src/ralph/ui/templates/ui/device_addresses.html index c16d8a1777..ba34e4285a 100644 --- a/src/ralph/ui/templates/ui/device_addresses.html +++ b/src/ralph/ui/templates/ui/device_addresses.html @@ -111,20 +111,7 @@

DHCP Entries

Management address

-
- {% csrf_token %} - - {% form ip_management_form %} - - {% if canedit %} -
- {% spaceless %} - - {% endspaceless %} -
- {% endif %} -
+ {% form ip_management_form fugue_icons='fugue-tick' submit_name='management' %}

Detected addresses