As a user, I should be able to add or remove locations from my account.
When the user visits their settings page, and they tap my locations, they currently see a dropdown of all their locations.
When they tap the location, they should go to the locations page where they should see information about the location. They should also see a button that says "Leave"
When they click "Leave" they should be prompted with the following:
"This will disconnect you from this location permanently, and they will be notified you are leaving. No one there will have access to your data any longer. If you are sure you want to leave type, 'leave'."
As a user, I should be able to add or remove locations from my account.
When the user visits their settings page, and they tap my locations, they currently see a dropdown of all their locations.
When they tap the location, they should go to the locations page where they should see information about the location. They should also see a button that says "Leave"
When they click "Leave" they should be prompted with the following:
"This will disconnect you from this location permanently, and they will be notified you are leaving. No one there will have access to your data any longer. If you are sure you want to leave type, 'leave'."
This should be presented in a dialog: https://framework7.io/docs/dialog.html
This should not be case sensitive. Once this form is submitted, the following endpoint should be called in the API.
DELETE /v1/location_accounts/:location_account_id
Calling this endpoint should do the following: