BrentBarnes / 8-Bit-Flight-Booker

A Ruby-on-Rails app where users can book flights for multiple passengers
0 stars 0 forks source link

4. Search results should be in their own form #16

Closed BrentBarnes closed 2 years ago

BrentBarnes commented 2 years ago

The search results will need to be in their own form – this time for selecting which of the flights the user would like to choose. Each returned flight should render with a radio button next to it. The user will select which flight to submit and move onto the next step. The form should submit to the #new action of the BookingsController you’re about to create using another GET method. You’ll need to include a hidden field that contains the number of passengers.

BrentBarnes commented 2 years ago