Edit profile
Edit profile
${form.begin(multipart=True)} ${form.csrf_token()}
${form.errorlist('email')}
Email address:
${form.text('email')}
Current picture:
${form.errorlist('picture')}
Picture (jpg, jpeg, png or gif):
${form.file('picture')}
${form.errorlist('firstname')}
First name:
${form.text('firstname')} ${form.errorlist('lastname')}
Last name:
${form.text('lastname')}
${form.errorlist('gender')}
Gender:
${form.select('gender', ['male', 'female'])} ${form.errorlist('birth_date')}
Birth date:
${form.date('birth_date', date_format='%d/%m/%Y')} ${form.errorlist('height')}
Height (meters):
${form.text('height')} ${form.errorlist('weight')}
Weight (kg):
${form.text('weight')}
${form.errorlist('bio')}
Bio/About you:
${form.textarea('bio', rows=10, cols=50)}
${form.submit("submit", "Save")}
Cancel
${form.end()}