{% extends "base.html" %} {% load static i18n widget_tweaks %} {% block title %}{{ title }} - {{ block.super }}{% endblock %} {% block customCSS %} {% endblock %} {% block content %}
{% if agency %}
{% trans "Currently Editing" %}
{{ agency.name }}
{% if agency.contact_person %}

{% trans "Contact" %}: {{ agency.contact_person }}

{% endif %} {% if agency.email %}

{{ agency.email }}

{% endif %} {% trans "Created" %}: {{ agency.created_at|date:"d M Y" }} • {% trans "Last Updated" %}: {{ agency.updated_at|date:"d M Y" }}
{% endif %}
{% if form.non_field_errors %} {% endif %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %}
{{ form.name|add_class:"form-control" }} {% if form.name.errors %} {% for error in form.name.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.name.help_text %}
{{ form.name.help_text }}
{% endif %}
{{ form.contact_person|add_class:"form-control" }} {% if form.contact_person.errors %} {% for error in form.contact_person.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.contact_person.help_text %}
{{ form.contact_person.help_text }}
{% endif %}
{{ form.phone|add_class:"form-control" }} {% if form.phone.errors %} {% for error in form.phone.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.phone.help_text %}
{{ form.phone.help_text }}
{% endif %}
{{ form.email|add_class:"form-control" }} {% if form.email.errors %} {% for error in form.email.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.email.help_text %}
{{ form.email.help_text }}
{% endif %}
{{ form.website|add_class:"form-control" }} {% if form.website.errors %} {% for error in form.website.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.website.help_text %}
{{ form.website.help_text }}
{% endif %}
{{ form.address|add_class:"form-control" }} {% if form.address.errors %} {% for error in form.address.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.address.help_text %}
{{ form.address.help_text }}
{% endif %}
{{ form.country|add_class:"form-control" }} {% if form.country.errors %} {% for error in form.country.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.country.help_text %}
{{ form.country.help_text }}
{% endif %}
{{ form.city|add_class:"form-control" }} {% if form.city.errors %} {% for error in form.city.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.city.help_text %}
{{ form.city.help_text }}
{% endif %}
{{ form.description|add_class:"form-control" }} {% if form.description.errors %} {% for error in form.description.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.description.help_text %}
{{ form.description.help_text }}
{% endif %}
{% endblock %} {% block customJS %} {% endblock %}