16 lines
1.0 KiB
HTML
16 lines
1.0 KiB
HTML
|
{% extends "index.html" %}
|
||
|
{% block title %}Articles{% endblock %}
|
||
|
{% block main %}
|
||
|
<article>
|
||
|
<h3>Informations du compte</h3>
|
||
|
<form method='POST' action='/account/update/{{ user.id }}'>
|
||
|
<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();'>
|
||
|
</article>
|
||
|
{% endblock %}
|