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

Hi, {{ current_user.username }}!

{% for suggestion in suggestions %} {% if current_user.username != suggestion.author.username or current_user.username == admin %} {% if exists_vote(current_user.id, suggestion.id) %} {% else %} {% endif %} {% else %} {% endif %} {% endfor %}
User Suggestion Comments Votes Action
{{ suggestion.author.username }} suggests: {{ suggestion.body }} {% if suggestion.comment != None %} {{ urlify(suggestion.comment)|safe }} {% endif %} {% if get_users_voted(suggestion.id) != '' %} Voted: {{ get_users_voted(suggestion.id) }} {% endif %}
Add something:
{% endblock %}