2018-02-28 05:51:43 +11:00
|
|
|
{% extends "index.html" %}
|
2018-02-28 20:25:08 +11:00
|
|
|
{% block title %}Modification de compte{% endblock %}
|
2018-02-28 05:51:43 +11:00
|
|
|
{% block main %}
|
|
|
|
<article>
|
|
|
|
<h3>Informations du compte</h3>
|
|
|
|
<form method='POST' action='/account/update/{{ user.id }}'>
|
2018-03-06 08:12:02 +11:00
|
|
|
<label>Adresse email: </label><input id='login' name='login' type='text' value='{{ user.mail }}' disabled='disabled' required/><br/>
|
2018-03-09 20:33:29 +11:00
|
|
|
<label>Prénom ou pseudo: </label><input id='name' name='name' type='text' value='{{ user.name or '' }}'/><br/>
|
2018-02-28 20:25:08 +11: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 20:33:29 +11: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 20:25:08 +11:00
|
|
|
<input type='submit' value='Update' onclick='javascript:return update_account();'>
|
|
|
|
</form>
|
2018-02-28 05:51:43 +11:00
|
|
|
</article>
|
|
|
|
{% endblock %}
|