{% load crispy_forms_tags i18n user_display %} {% if form %}
{% crispy form %}
{% endif %} {% if object_list %}
{% for object in object_list %} {% user_profile_access object as can_view_user %} {% if can_view_user %} {% else %}
{% endif %} {% translate

{{ object }}

@{{ object.username }} {% if can_view_user %}
{% else %}
{% endif %} {% endfor %}
{% else %}

{% translate "Could not find any such user." %}

{% endif %} {% include "paginator.html" %}