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-02-28 10:25:08 +01:00
|
|
|
<label>Adresse email: </label><input id='login' name='login' type='text' value='{{ user.mail }}' disabled='disabled'/><br/>
|
|
|
|
<label>Prénom ou pseudo: </label><input id='name' name='name' type='text' value='{{ user.name }}'/><br/>
|
|
|
|
<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/>
|
|
|
|
<label>Numéro de téléphone: </label><input id='phone' name='phone' type='text' value='{{ user.phone }}'/><br/>
|
|
|
|
<label>Régime alimentaire et remarques: </label><input id='diet' name='diet' type='text' value='{{ user.diet }}'/><br/>
|
|
|
|
<input type='submit' value='Update' onclick='javascript:return update_account();'>
|
|
|
|
</form>
|
2018-02-27 19:51:43 +01:00
|
|
|
</article>
|
|
|
|
{% endblock %}
|