I have a page where the user can edit their settings using inline editing.
https://jsfiddle.net/ahw97j7r/3/embedded/result/
Useless stuff just updates the database, but Password and Email are a bit different.
Password requires the user to enter their newly desired password, but in addition, requires them to re-enter their newly desired new password to make sure they spelled it correctly, and provide their old password to ensure they are the correct user.
Email requires them to enter the newly desired email and also enter their password.
How would you recomment the user interface?