{% extends 'spire/container/container.html' %} {% block container_title %} {{ ser.get_full_name }} {% endblock %} {% block container_button %} {% if perms.permission.change_portaluser %} {% url 'user_account:register_user_form' pk=user.pk as form_url %} {% include 'spire/button/base_button.html' with button_text='Edit' button_icon='bi bi-pencil-fill' button_href=form_url %} {% endif %} {% endblock %} {% extends 'spire/card/card.html' %} {% block card_title %} {{ ser.get_full_name }} {% endblock %} {% block card_button %} {% if perms.permission.change_portaluser %} {% url 'user_account:register_user_form' pk=user.pk as form_url %} {% include 'spire/button/base_button.html' with button_text='Edit' button_icon='bi bi-pencil-fill' button_href=form_url %} {% endif %} {% endblock %} {% block card_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 %}
{% include 'spire/element/attribute_element.html' with attribute_title='Date Created' attribute_value=user.date_joined %}
{% endblock %}