{% extends "base_site.html" %}
{% load staticfiles %}

{% block title %}Groups - Search{% endblock %}

{% block extrahead %}{{ block.super }}
    <link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
    <script src="{% static 'secr/js/utils.js' %}"></script>
    <script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}

{% block breadcrumbs %}{{ block.super }}
    &raquo; Groups
{% endblock %}

{% block content %}

    <div class="module group-container">
        <h2>Groups - Search</h2>
        <form enctype="multipart/form-data" method="post">{% csrf_token %}
            <table class="full-width amstable">
                <tbody>
                <!-- [html-validate-disable-block element-required-attributes -- FIXME: as_table renders without scope] -->
                 {{ form.as_table }}
                 </tbody>
            </table>

            {% include "includes/buttons_search.html" %}

        </form>

        <div class="inline-related">
            <h2>Search Results</h2>
            {% include "includes/group_search_results.html" %}
            {% if not_found %}{{ not_found }}{% endif %}
        </div> <!-- inline-group -->
    </div> <!-- module -->

{% endblock %}