{% extends "base_wide.html" %}
{% load i18n %}
{% load avatar_tags %}
{% load core_tags %}
{% load thumbnail %}
{% load countries_tags %}
{% load cache %}

{% block content_title%}{% trans "People" %}{% endblock %}

{% block content %}

    <form method="get" action="." class="well form-inline">
        {{ form|as_bootstrap:"inline" }}
        <button type="submit" class="btn">Search</button>
    </form>

    <div class="stack-horizontal">
        {% if query %}
            {% for result in page.object_list %}
            {% with result.object as profile %}    
            
                {% include "profiles/_profile.html" %}

            {% endwith %}
            {% endfor %}
        {% else %}
            {% cache 600 all_profiles site %}
                {% for profile in all_objects %}

                    {% include "profiles/_profile.html" %}

                {% endfor %}    
            {% endcache %}
        {% endif %}
    </div>


{% endblock %}

{% extends "base_wide.html" %}
{% load i18n %}
{% load avatar_tags %}
{% load core_tags %}
{% load thumbnail %}
{% load countries_tags %}
{% load cache %}

{% block content_title%}{% trans "People" %}{% endblock %}

{% block content %}

    <form method="get" action="." class="well form-inline">
        {{ form|as_table }}
        <button type="submit" class="btn">Search</button>
    </form>

    <div class="stack-horizontal">
        {% if query %}
            {% for result in page.object_list %}
            {% with result.object as profile %}    
            
                {% include "profiles/_profile.html" %}

            {% endwith %}
            {% endfor %}
        {% else %}
            {% cache 600 all_profiles site %}
                {% for profile in all_objects %}

                    {% include "profiles/_profile.html" %}

                {% endfor %}    
            {% endcache %}
        {% endif %}
    </div>


{% endblock %}

Remove usersiteprofile from profile list view
Remove usersiteprofile from profile list view
