Part 11 - Add courses to programme
PREREQUISITES
- When we navigate to the detail page of a programme we want to be able to add new courses to this programme
- Add a form to the 'show' view to add a course
- When the form is submitted redirect to the same page
TIPS
- Make use of the earlier created CourseController to add a course
- You will need to add the
programme_id
to the form. This can be done by using a hidden input field.