{%extends "rolodex/base.html" %} {%load staticfiles%} {%block head%} {%endblock%} {%block content%}
{%if orgNode%}

{{orgNode.orgName}}

{%else%}

{{peepNode.firstName}} {{peepNode.lastName}}

{%endif%} {%if saved%}
Relationship created. Add another?
{%endif%} {% if pForm.errors %}

Whoops, there was a mistake...

{% endif %} {% if orgForm.errors %}

Whoops, there was a mistake...

{% endif %}

Add relationship to either an organization or a person.

Organization
{%if orgNode%}
{%else%} {%endif%} {% csrf_token %}
{{orgForm.relation}} {%if orgNode%}
If the relationship has a business hierarchy (e.g., subsidiaries), select whether {{orgNode.orgName}} is parent or child in the relationship. Leave as "none" if it doesn't apply.
Heirarchy: {{orgForm.hierarchy}}
{%endif%}
Person
{%if orgNode%}
{%else%} {%endif%} {% csrf_token %}
{{pForm.relation}}
{%endblock%}