{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}

{% block content %}
<div class="row mb-3">
    <div class="col col-md-6">
        <div class="card">
            <h5 class="card-header">Address</h5>
            <table class="table table-hover attr-table">
                <tr>
                    <th scope="row">Site</th>
                    <td>{{ object.site|linkify|placeholder }}</td>
                </tr>
                <tr>
                    <th scope="row">Auto Resolved</th>
                    <td>
                        {% if object.auto_resolved %}
                            <span class="badge text-bg-info">Geocoded</span>
                        {% else %}
                            <span class="badge text-bg-secondary">Manual</span>
                        {% endif %}
                    </td>
                </tr>
                <tr>
                    <th scope="row">Last Resolved</th>
                    <td>{{ object.last_resolved|placeholder }}</td>
                </tr>
            </table>
        </div>
        <div class="card">
            <h5 class="card-header">Address</h5>
            <table class="table table-hover attr-table">
                <tr>
                    <th scope="row">Street Address</th>
                    <td>{{ object.street_address|placeholder }}</td>
                </tr>
                <tr>
                    <th scope="row">City</th>
                    <td>{{ object.city|placeholder }}</td>
                </tr>
                <tr>
                    <th scope="row">State/Province</th>
                    <td>{{ object.state_province|placeholder }}</td>
                </tr>
                <tr>
                    <th scope="row">Postal Code</th>
                    <td>{{ object.postal_code|placeholder }}</td>
                </tr>
                <tr>
                    <th scope="row">Country</th>
                    <td>{{ object.country|placeholder }}</td>
                </tr>
            </table>
        </div>
        {% plugin_left_page object %}
    </div>
    <div class="col col-md-6">
        {% include 'inc/panels/tags.html' %}
        {% plugin_right_page object %}
    </div>
</div>
<div class="row">
    <div class="col col-md-12">
        {% plugin_full_width_page object %}
    </div>
</div>
{% endblock content %}
