{% extends 'base.jinja' %}

{% block headline %}<h3 class="text-center">BaStA Login</h3>{% endblock %}

{% block content %}
    <div class="col-8 text-center p-3 bg-light text-dark">
        <h3>{{ name }}</h3>
        <p>E-Mail: {{ email }}</p>
    </div>
    <div class="col-4 p-3 bg-light text-dark"><p>Date Joined: {{ date_joined }}</p></div>
    <div class="col-12 p-3 bg-light text-dark">
    <h4>Your Food Ratings:</h4>
    {% for rating in food_ratings %}
        <p>{{ rating.food.name }}: {{ rating.rating }}</p>
    {% endfor %}
    </div>
{% endblock %}