guardian/frontend — pull request #3418 by chrisfinch (2014-03-06 09:12:12+00:00)
Title: Identity account edit forms

# Account profile forms

This changeset centres around adding the ability to edit some of your private account details from next-gen-land and includes.

- Removal of the `/profile/public` route and the addition of the `/public/edit` and `/account/edit` routes.

- Removal of the old `public_profile` template and the addition of a new template, `profileForms`, along with two fragment templates for the individual public and account forms.

- Addition of Scala code to ensure functionality of the new pages.

- Addition of a new identity JavaScript module, `account-profile.js`, that handles history rewrites for the tabs and prevents the loss of unsaved information in forms caused by users switching tabs without submitting the form.

This work goes along with some changes to the identity API which will also be going out soon.

# Pics or it didn't happen.

![ap2](https://f.cloud.github.com/assets/1170410/2335493/9cfbf450-a484-11e3-800d-c9979b649e7b.png)
![ap](https://f.cloud.github.com/assets/1170410/2335494/9d0b59fe-a484-11e3-978b-141e5aa7f1e2.png)

# Coming soon

We plan to add the following very soon;

- New password, address and date of birth fields for the account edit form.

- The ability to view a users public profile details as another user (aka public profile page)