{% extends "base.html" %}{% load i18n %} {% block title %}{% if contact %}{% blocktranslate trimmed with name=contact.name %}Edit {{ name }}{% endblocktranslate %}{% else %}{% translate "Add contact" %}{% endif %}{% endblock %} {% block content %}

{% if contact %}{% blocktranslate trimmed with name=contact.name %}Edit {{ name }}{% endblocktranslate %}{% else %}{% translate "Add contact" %}{% endif %}

{% if from_call %}

{% translate "First and last name, phone, region, district and how they heard about us are needed now. Fill in the rest later." %}

{% endif %}
{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors|join:" " }}
{% endif %}
{% include "_field.html" with field=form.first_name %} {% include "_field.html" with field=form.last_name %} {% include "_field.html" with field=form.phone %} {% include "_field.html" with field=form.alt_phone %} {% include "_field.html" with field=form.region %} {% include "_field.html" with field=form.district %} {% include "_field.html" with field=form.heard_from %} {% include "_field.html" with field=form.heard_from_detail %} {% include "_field.html" with field=form.status %} {% include "_field.html" with field=form.language %} {% include "_field.html" with field=form.gender %} {% include "_field.html" with field=form.care_agent %} {% include "_field.html" with field=form.cell_group %}
{% include "_field.html" with field=form.notes wide=True %} {% include "_field.html" with field=form.do_not_call wide=True %}
{% if contact %} {% translate "Cancel" %} {% else %} {% translate "Cancel" %} {% endif %}
{% endblock %}