Adding profiles and adminship

This commit is contained in:
Yusur 2019-10-17 14:34:55 +02:00
parent 156d58e549
commit 32e7c37158
7 changed files with 133 additions and 16 deletions

View file

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block body %}
<h2>Edit Profile</h2>
<form method="POST">
<dl>
<dt>Username:</dt>
<dd><input type="text" class="username_input" name="username" required value="{{ current_user.username }}" autocomplete="off"></dd>
<dd><input type="submit" value="Save"></dd>
</dl>
</form>
{% endblock %}