Now you can edit username, full name, biography and website
This commit is contained in:
parent
32e7c37158
commit
bfc44c9362
3 changed files with 18 additions and 1 deletions
|
|
@ -6,7 +6,14 @@
|
|||
<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="text" class="username-input" name="username" required value="{{ current_user.username }}" autocomplete="off"></dd>
|
||||
{% set profile = current_user.profile %}
|
||||
<dt>Full name:</dt>
|
||||
<dd><input type="text" name="full_name" value="{{ profile.full_name }}"></dd>
|
||||
<dt>Biography:</dt>
|
||||
<dd><textarea class="biography_text" name="biography">{{ profile.biography }}</textarea></dd>
|
||||
<dt>Website:</dt>
|
||||
<dd><input type="text" name="website" value="{{ profile.website }}"></dd>
|
||||
<dd><input type="submit" value="Save"></dd>
|
||||
</dl>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue