You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I should be able to edit airport items.
AC
WHEN a user is logged in and on the Airport Collection Page THEN they will see an edit button on the individual Airport items WHEN clicked it'll populate a form the the user to edit the name, location, and website THEN when submitted it'll update the airport and dom will be reprinted with updated airport.
User Story
As a user, I should be able to edit airport items.
AC
WHEN a user is logged in and on the Airport Collection Page
THEN they will see an edit button on the individual Airport items
WHEN clicked it'll populate a form the the user to edit the name, location, and website
THEN when submitted it'll update the airport and dom will be reprinted with updated airport.
Dev Notes
edit button
to airport cards$('body').on('click', '.edit-airport-form', editAirportForm)
src/javascripts/components/editAirport/editAirport.js
$('body').on('click', '.submit-edit-airport-form', editAirport)
The text was updated successfully, but these errors were encountered: