{% extends "core_components/site_base.html" %} {% block tabtitle %}Simmate{% endblock %} {% block banner %} {% include "core_components/header.html" %} {% endblock %} {% block body %}
{# Buttons & Sidebars #}
  Table Info {# Quick Search Sidebar #} {% block quicksearch %} {% if table.html_form_view and "search" in table.html_enabled_forms %} {% include "data_explorer/table_search.html" %} {# ELSE: include "data_explorer/table_filters.html" (disabled for now) #} {% endif %} {% endblock %} {# Update Sidebar #} {% block updater %} {% if table.html_form_view and "update_many" in table.html_enabled_forms %} {% include "data_explorer/table_update_many.html" %} {% endif %} {% endblock %} {# Add New Sidebar #} {% block addnew %} {% if table.html_form_view and "create" in table.html_enabled_forms %} {% include "data_explorer/table_add_entry.html" %} {% endif %} {% endblock %}
{# Table Description #}

{{ table.html_description_short }}

{# Search Results #} {% block search_results %} {% load humanize %}
{% if page.object_list %} {% block search_results_table %} {# we assume that if enable_select is used, then there is a viable update_many view #} {% include table.html_entries_template with enable_select=True entries=page.object_list %} {% endblock %} {% include "data_explorer/pagination.html" %} {% else %} {% endif %}
{% endblock %} {% endblock %}