Added new routes to post form and moved the form_for into a partial _form.html.erb. Also included a debug renderer to see what controller and action is being requested.
Removed return line in welcome controller so entries will be saved to the database. Added redirect so on confirm/send on first page, form moves to a /welcome/:id. Had to be verbose and literally add welcome_path(@apprenticeform) to welcome controller. Also added a new controller for demographics.
Merge branch 'sign-up' of github.com:sparkbox/apprentice-application into sign-up
Playing around with routes. So far, confirm on 1st page moves to index.[:id] instead of index/[:id] which I would prefer. 2nd page renders using a partial at the moment but loops back to /welcome on confirm which needs to be fixed.
Added new routes to move from root or #index to step_two to step_three and so on. Currently I'm stuck at step 3 as it routes to #create from step 2. It ideally should route to a new controller's index i.e. Personality index. Step 3 also needs a confirm button.
App now loops back to the first page at /welcome with the action #create. Ideally want the last page to move to a confirmation page. Still need to figure out why after step 2 form redirects_to create instead of index.