Skip to content

Commit

Permalink
Merge pull request #1339 from xliiv/ip-hostname
Browse files Browse the repository at this point in the history
Fixed 'Management address' in form of Addresses tab.
  • Loading branch information
xliiv committed Mar 26, 2015
2 parents 6ea7d34 + bb70aa7 commit 69788f3
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/ralph/ui/templates/ui/device_addresses.html
Expand Up @@ -111,20 +111,7 @@ <h3>DHCP Entries</h3>

<div class="span6">
<h3>Management address</h3>
<form class="form form-inline" action="" method="POST">
{% csrf_token %}

{% form ip_management_form %}

{% if canedit %}
<div class="buttons pull-right">
{% spaceless %}
<button type="submit" name="management" value="Save" class="btn btn-primary"
>{% icon 'fugue-tick' %}&nbsp;Save</button>
{% endspaceless %}
</div>
{% endif %}
</form>
{% form ip_management_form fugue_icons='fugue-tick' submit_name='management' %}

<h3>Detected addresses</h3>
<form class="form form-inline" action="" method="POST">
Expand Down

0 comments on commit 69788f3

Please sign in to comment.