{% extends 'generic/object_create.html' %}
{% load form_helpers %}
{% load helpers %}

{% block tabs %}
    {% if not editing %}
        {% include 'extras/inc/object_contact_header.html' with active_tab='team' %}
    {% endif %}
{% endblock %}

{% block form %}
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Team</strong></div>
        <div class="panel-body">
            {% render_field form.name %}
            {% render_field form.phone %}
            {% render_field form.email %}
            {% render_field form.address %}
            {% render_field form.contacts %}
            {% render_field form.comments %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Contact Association</strong></div>
        <div class="panel-body">
            {% render_field form.role %}
            {% render_field form.status %}
            {% render_field form.associated_object_type.as_hidden %}
            {% render_field form.associated_object_id.as_hidden %}
        </div>
    </div>
    {% include 'inc/extras_features_edit_form_fields.html' %}
{% endblock %}
