rubyforgood / coral

An upcoming project for Ruby for Good
MIT License
13 stars 11 forks source link

dive start workflow #16

Closed bhaibel closed 4 years ago

bhaibel commented 4 years ago

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.