{% extends 'atlas/base.html' %}
{% load render_table from django_tables2 %}
{% block content_container_class %}container-fluid content-wide px-3{% endblock %}
{% block content %}

    <h2>Resources</h2>

    <button class="btn btn-primary mb-3">
        <a href="{% url 'atlas:resource_create' %}">Create New Resource</a>
    </button>

{% comment %}     <details>
        <summary>Search Resources</summary>
        {% include "atlas/partials/resource_search_panel.html" %}
        </details>
 {% endcomment %}
    <form>
        {% render_table table %}
    </form>

    {% include "generic/partials/page_size_form.html" %}
    {% include "generic/partials/filter_bar.html" with filter=filter app_name=app_name collapse_id="bottom-filter-body" %}

{% endblock %}

{% block js %}
    <style>
        td, th { padding-left: 10px }
    </style>
{% endblock %}