As a user, I want to cancel any changes I make to my personal details or save them so that I can either revert to my previous information or keep my updated details.
Acceptance Criteria
-
The user has the option to click a "Cancel" button that reverts changes to the previous state. -
The user has the option to click a "Save" button to save any modifications. -
The user can see if changes are saved, they are reflected immediately on the personal details page.
Task
-
Design the layout for the personal details page, including the "Cancel" and "Save" buttons. -
create cancel button -
create save button -
save data to Mariadb -
update User details
Edited by Haoyu Sun