{% extends 'base.html' %} {% block title %}Friend{% endblock %} {% load static %} {% block content %}
{% include 'snippets/left-menu.html' %}

Friends

See all
{% for account in accounts %}
{{ account.0.username }}
{% if account.1 == True %}

{{ account.2 }} mutual friends

Friends

Unfriend {% else %}

{{ account.2 }} mutual friends

{% if account.3 == 0 %} Accept Request Decline Request {% elif account.3 == 1 %} Cancel {% else %} Send Friend Request {% endif %} {% endif %}
{% endfor %}
{% endblock %}