Closed bhaibel closed 4 years ago
Dive start checklist. Provides a hook for pre-fetching offline dive information, & requiring users to double-check it before going underwater.
This is ugly for now but includes simple_form configuration so that when we get bootstrap integrated it should autopretty itself.
Go to /dives/new. Happy path: check "I have been responsible"; click "Start dive". You should be redirected to the show page for the new dive.
Unhappy path: don't check "I have been responsible." You should get an error page.
Description
Dive start checklist. Provides a hook for pre-fetching offline dive information, & requiring users to double-check it before going underwater.
This is ugly for now but includes simple_form configuration so that when we get bootstrap integrated it should autopretty itself.
Type of change
How Has This Been Tested?
Go to /dives/new. Happy path: check "I have been responsible"; click "Start dive". You should be redirected to the show page for the new dive.
Unhappy path: don't check "I have been responsible." You should get an error page.