Edit profile Edit profile
${form.begin(multipart=True)} ${form.csrf_token()}
${form.errorlist('email')} ${form.text('email')}
Current picture: ${form.errorlist('picture')} ${form.file('picture')}
${form.errorlist('firstname')} ${form.text('firstname')} ${form.errorlist('lastname')} ${form.text('lastname')}
${form.errorlist('gender')} ${form.select('gender', ['male', 'female'])} ${form.errorlist('birth_date')} ${form.date('birth_date', date_format='%d/%m/%Y')} ${form.errorlist('height')} ${form.text('height')} ${form.errorlist('weight')} ${form.text('weight')}
${form.errorlist('bio')} ${form.textarea('bio', rows=10, cols=50)}
${form.submit("submit", "Save")} Cancel ${form.end()}