Part 11 - Add courses to programme

  • 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

programmes add course programmes add course

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.
Last Updated: 12/3/2020, 11:00:19 PM