site/backend/app/templates/edit_profile.html

25 lines
554 B
HTML
Raw Normal View History

2024-08-03 11:59:05 +00:00
{% extends "base.html" %}
{% block content %}
2024-08-08 15:14:44 +00:00
<h2>Edit Profile</h1>
2024-08-03 11:59:05 +00:00
<form action="" method="post">
{{ form.hidden_tag() }}
<p>
{{ form.username.label }}
{{ form.username(size=32) }}
{% for error in form.username.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>
{{ form.about_me.label }}
{{ form.about_me(cols=50, rows=4) }}
{% for error in form.about_me.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>{{ form.submit }}</p>
</form>
{% endblock %}