summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/user_settings.html
blob: cac613ae098f094bf51973804be9bd4bdf968bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends 'base.html' %}
{% block header %}<h1>{% block title %}user settings{% endblock %}</h1>{% endblock %}
{% block content %}
<form method="post">
<fieldset>
<legend>change password</legend>
<label for="password">current password</label>
<input type="text" id="password" name="password"><br>
<label for="new_password">new password</label>
<input type="text" id="new_password" name="new_password">
</fieldset>
<fieldset>
<legend>change bio</legend>
<textarea class="new-post-box" name="bio" maxlength="4000">
	{{- user.bio or "hail GEORGE" -}}
</textarea>
</fieldset>
<p>confirm changes?</p>
<input type="submit" value="confirm">
<a href="{{url_for('user.view_user',username=user.username)}}">cancel</a>
</form>
{% endblock %}