GIVEN a user wants to change the details of an event
WHEN the user performs a gesture to edit an event
THEN the user should be presented with a form that has the event details pre-filled into the fields
AND there should be an affordance to save the new details
Development
Make an "edit event" button for each event in domString loop
On click, the edit button calls a function that pops up an edit event form with the completed event fields
Make a submit button on the edit event form that, on click, calls a function to save the revised event to firebase and to the dom
User Story
As a user, I want to be able to edit my event.
Acceptance Criteria
GIVEN a user wants to change the details of an event WHEN the user performs a gesture to edit an event THEN the user should be presented with a form that has the event details pre-filled into the fields AND there should be an affordance to save the new details
Development