{% load static %}
<div class="view-actions dropdown-profile">
    <button onclick="myFunction()" class="profile-btn">
        <img class="image-vignesh dropbtn-profile" src="{% static 'file/upanel/img/1.png' %}"/>
        <span class="dropbtn-profile">{{ user.username }}</span>
    </button>
    <div id="myDropdown" class="dropdown-content">
        <a class="dropdown-item line" href="#">
            <i class="mdi mdi-account-outline me-1 mdi-20px"></i>
            <span class="align-middle">Профиль</span>
        </a>
        <a class="dropdown-item line" href="#">
            <i class="mdi mdi-cog-outline me-1 mdi-20px"></i>
            <span class="align-middle">Настройки</span>
        </a>
        <form method="post">
            {% csrf_token %}
            <input type="submit" class="fadeIn fourth" value="Выход">
        </form>
    </div>
</div>
</div>