{% extends "edumanage/welcome.html"%} {% load i18n %} {% block crumbs %}
  • {% trans "Home" %}/
  • {% trans "Contacts" %}/
  • {% if edit %}{{form.instance.name}} ({% trans "edit" %}){% else %}{% trans "Add Contact" %}{% endif %}
  • {% endblock %} {% block extrahead %} {% endblock %} {% block homeactive %}{% endblock %} {% block contactsactive %}class="active"{% endblock %} {% block subcontent %}

    {% if edit %}{{form.instance.name}} ({% trans "edit" %}){% else %}{% trans "Add Contact" %}{% endif %}


    {% csrf_token %} {% if form.non_field_errors %}

    {{ form.non_field_errors}}

    {% endif %}
    {{form.instid}}
    {{ form.name }} {% if form.name.errors %} {{ form.name.errors|join:", " }} {% endif %} {{ form.name.help_text }}
    {{ form.email }} {% if form.email.errors %} {{ form.email.errors|join:", " }} {% endif %} {{ form.email.help_text }}
    {{ form.phone }} {% if form.phone.errors %} {{ form.phone.errors|join:", " }} {% endif %} {{ form.phone.help_text }}
    {% endblock %}