{% extends 'base.html' %} {% from 'bootstrap5/form.html' import render_form %} {% block content %}

{% block title %}Profile | {{ user.email }} {% endblock %}

Name: {{ user.name }}

{% if not current_user.id==user.id %}

This is another users profile.

{% endif %}
{{render_form(form, button_map={'submit_button': 'primary'}) }}
{% endblock %}