{% extends "base.html" %} {% block content %}

User: {{ user.username }}

My suggestions

{% if current_user.username == user.username or current_user.username == admin %}

Colums: Name-Comment-Edit-Remove

{% endif %} {% for suggestion in suggestions %}
{% if current_user.username != suggestion.author.username and current_user.username != admin %} {% if suggestion.comment != None and suggestion.comment != '' %} {% else %} {% endif %} {% else %} {% if suggestion.comment != None and suggestion.comment != '' %} {% else %} {% endif %} {% endif %} {% if current_user.username == suggestion.author.username or current_user.username == admin %} {% endif %}
{% if current_user.username == suggestion.author.username or current_user.username == admin %}
{% endif %}
{% endfor %}
{% endblock %}