participer.thsf.net/templates/account_by_id.html

17 lines
1.1 KiB
HTML
Raw Normal View History

2018-02-27 19:51:43 +01:00
{% extends "index.html" %}
2018-02-28 10:25:08 +01:00
{% block title %}Modification de compte{% endblock %}
2018-02-27 19:51:43 +01:00
{% block main %}
<article>
<h3>Informations du compte</h3>
<form method='POST' action='/account/update/{{ user.id }}'>
2018-03-05 22:12:02 +01:00
<label>Adresse email: </label><input id='login' name='login' type='text' value='{{ user.mail }}' disabled='disabled' required/><br/>
2018-03-09 10:33:29 +01:00
<label>Prénom ou pseudo: </label><input id='name' name='name' type='text' value='{{ user.name or '' }}'/><br/>
2018-02-28 10:25:08 +01:00
<label>Nouveau mot de passe: </label><input id='password' name='password' type='password'/><br/>
<label>Confirmation mot de passe: </label><input id='confirm' name='confirm' type='password'/><br/>
2018-03-09 10:33:29 +01:00
<label>Numéro de téléphone: </label><input id='phone' name='phone' type='text' value='{{ user.phone or '' }}'/><br/>
<label>Régime alimentaire et remarques: </label><input id='diet' name='diet' type='text' value='{{ user.diet or '' }}'/><br/>
2018-02-28 10:25:08 +01:00
<input type='submit' value='Update' onclick='javascript:return update_account();'>
</form>
2018-02-27 19:51:43 +01:00
</article>
{% endblock %}