{% extends 'spire/card/title_card.html' %} {% load spire_core_tags %} {% block card_title %} {{ user.get_full_name }} {% endblock %} {% block card_button %} {% if perms.permission.change_portaluser %} {% url 'user_account:form' pk=user.pk as form_url %} {% include 'spire/button/primary_dark_button.html' with button_text='Edit' button_icon='bi bi-pencil-fill' button_href=form_url %} {% endif %} {% endblock %} {% block card_title_content %}
{% include 'spire/element/attribute_element.html' with attribute_title='First Name' attribute_value=user.first_name %}
{% include 'spire/element/attribute_element.html' with attribute_title='Last Name' attribute_value=user.last_name %}
{% include 'spire/element/attribute_element.html' with attribute_title='Email' attribute_value=user.email %}
{% include 'spire/element/attribute_element.html' with attribute_title='Status' %} {% include 'spire/permission/element/is_active_badge.html' with is_active=user.is_active %}
{% include 'spire/element/attribute_element.html' with attribute_title='Last Login' attribute_value=user.last_login|default:'N/A' %}
{% include 'spire/element/attribute_element.html' with attribute_title='Date Created' attribute_value=user.date_joined %}
{% endblock %}