{% extends 'admin/frontend_users_admin_view.html' %}
{% load i18n modeladmin_tags %}

{% block header %}
    <header class="nice-padding hasform">
        <div class="row">
            <div class="left">
                <div class="col">
                    {% block h1 %}<h1 {% if view.header_icon %}class="icon icon-{{ view.header_icon }}"{% endif %}>{{ view.get_page_title }}<span></span></h1>{% endblock %}
                </div>
                {% block search %}{% search_form %}{% endblock %}
            </div>
            <div class="right">
                <form method="post" action="">
                    {% csrf_token %}
                    {{ form }}
                    <button type="submit" class="button bicolor icon icon-group" name="group">{% trans "Create Segment Group From Users" %}</button>
                    {% if user.is_superuser %}
                    <button type="submit" class="button bicolor icon icon-download" name="email">{% trans "Email CSV" %}</button>
                    {% endif %}
                </form>
            </div>
        </div>
    </header>
{% endblock %}

{% load i18n admin_static %}
<script>
    $(function() {
        $("#ageReset").click(function(){
            $(':input','#age_range_filter').val("");
        });
    });
</script>
<h3>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}</h3>
{% with choices.0 as i %}
<form id="age_range_filter" method="GET" action="">
    {{ spec.form.media }}
    {{ spec.form.as_p }}
     <button class="button" type="submit">{% trans "Search" %}</button>
     <button class="button" type="submit" id="ageReset">{% trans "Clear" %}</button>
</form>
{% endwith %}

Use the correct content of the template
Use the correct content of the template
