{% extends 'popojutrze/modules/_base.html' %}
{% block content %}
    <div class="container">
        <div class="row">
            <div class="col-3">
                <div class="row">
                    <div class="col-9">
                        {% include 'popojutrze/modules/_navigation.html' %}
                    </div>
                    <div class="col-3">
                    </div>
                </div>
            </div>
            <div class="col-7">
                <div class="wrapper">
                    <div class="title">
                        <h2>Twój profil</h2>
                    </div>
                    <form class="formValidate" id="formValidate" method="post" action="{% url 'users:profile' %}"
                          novalidate="novalidate">
                        {% include 'users/modules/_profile_form.html' %}
                    </form>
                    {% if scores.count > 0 %}
                        <div class="title__default-gray">
                            <p>średnie oceny mentorów</p>
                        </div>
                            {% include 'tasks/modules/_mentor_degree_box.html' with scores=scores average=average %}
                        <hr>
                    {% endif %}
                    <a href="{% url 'users:logout' %}">
                        <div class="button button__login-single button__login-single--white  button__login-single--logout">
                            Wyloguj mnie
                        </div>
                    </a>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
