{% extends "edumanage/welcome.html"%} {% load staticfiles %} {% load i18n %} {% block homeactive %}{% endblock %} {% block serversactive %}class="active"{% endblock %} {% block management_content %}

{% if edit %}{{form.instance.get_name}} ({% trans "edit" %}){% else %}{% trans "Add Server" %}{% endif %}


{% if form.non_field_errors %} {% for error in form.non_field_errors %}
  • {{ error }}
  • {% endfor %} {% endif %} {% csrf_token %}
    {{form.instid}}
    {{ form.ertype }} {% if form.ertype.errors %}
    {{ form.ertype.errors|join:", " }}
    {% endif %} {{ form.ertype.help_text }}
    {{ form.addr_type }} {% if form.addr_type.errors %}
    {{ form.addr_type.errors|join:", " }}
    {% endif %} {{ form.addr_type.help_text }}
    {{ form.host }} {% if form.host.errors %}
    {{ form.host.errors|join:", " }}
    {% endif %} {{ form.host.help_text }}
    {{ form.name }} {% if form.name.errors %}
    {{ form.name.errors|join:", " }}
    {% endif %} {{ form.name.help_text }}
    {% if institution.ertype == 1 or institution.ertype == 3 %}
    {{ form.rad_pkt_type }} {% if form.rad_pkt_type.errors %}
    {{ form.rad_pkt_type.errors|join:", " }}
    {% endif %} {{ form.rad_pkt_type.help_text }}
    {{ form.auth_port }} {% if form.auth_port.errors %}
    {{ form.auth_port.errors|join:", " }}
    {% endif %} {{ form.auth_port.help_text }}
    {{ form.acct_port }} {% if form.acct_port.errors %}
    {{ form.acct_port.errors|join:", " }}
    {% endif %} {{ form.acct_port.help_text }}
    {% endif %}
    {{ form.status_server }} {% if form.status_server.errors %}
    {{ form.status_server.errors|join:", " }}
    {% endif %} {{ form.status_server.help_text }}
    {% if form.secret.errors %}
    {{ form.secret.errors|join:", " }}
    {% endif %} {{ form.secret.help_text }}
    {{ form.proto }} {% if form.proto.errors %}
    {{ form.proto.errors|join:", " }}
    {% endif %} {{ form.proto.help_text }}
    {% endblock %}
    {% block extrajs %} {% endblock %}