Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement edit profile #15

Open
HomeboxJim opened this issue Oct 12, 2016 · 1 comment
Open

implement edit profile #15

HomeboxJim opened this issue Oct 12, 2016 · 1 comment

Comments

@HomeboxJim
Copy link
Collaborator

Implement functionality for editing profile (on about us page).

@JimLynchCodes
Copy link
Member

  • Clicking on "Edit Profile Button" On About us page sets about us controller variable editMode to true.

The text spans bound to Angular variables all have ng-show="!editMode", hiding them on edit mode and showing them when it's not edit mode.

Then you would have input boxes in the same area as each text span. When editMode is true you show the input boxes instead. These are treated just like any old form, and there is a save button an cancel button.

  • the cancel button is easy; just set editMode to false and clear the input boxes.
  • In the save button you still want set editMode to false and clear the input boxes, but you also want to set that user's database object values to the values of the input boxes in the form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants