Commit f6482d3d authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos
Browse files

Added special handling according to ertype in server edit

parent 1a4b91d9
......@@ -47,6 +47,7 @@
{% endif %} <span class="help-block"> {{ form.host.help_text }}</span>
</div>
</div>
{% if instdets.ertype == 1 or instdets.ertype == 3 %}
<div class="control-group {% if form.port.errors %} error {% endif %}">
<label class="control-label" for="id_port"><b>port</b></label>
<div class="controls">
......@@ -79,6 +80,7 @@
{% endif %} <span class="help-block"> {{ form.retry.help_text }}</span>
</div>
</div>
{% endif %}
<div class="control-group {% if form.status_server.errors %} error {% endif %}">
<label class="control-label" for="id_status_server">status_server</label>
<div class="controls">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment