{% extends 'app/base_profile.html' %} {% load static %} {% block title %} Sunting Profil | Digipus {% endblock %} {% block content %}

{% if user.is_admin %} Sunting Profil Admin {% elif user.is_contributor %} Sunting Profil Kontributor {% else %} Sunting Profil User {% endif %}


{% csrf_token %} {% for field in form %}
{{ field.label_tag }} {{ field }} {% if field.name == 'email' %}
{% if user.is_email_verified %} Email Status: Verified {% else %} Email Status: Unverified {% endif %}
{% endif %} {% if field.errors %} {{ field.errors }} {% endif %} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% endfor %}
{% endblock %}