In the course details view (e.g /cursos/Curso%20Vital%20de%20Programación%20Neuro-Lingüistica-2) you must add functionality to allow to an instructor edit a course.
The main idea is:
Somebody clicks on the Course name (or another course field)
The field is replaced for an input and two buttons (Guardar, Cancelar) are enabled on top page
When an user clicks in Guardar all of chaged fields are submitted. If one error happens a modal error message should be displayed. If the request is ok a modal success message should be displayed. Every field must have it's respective validations and Guardar should be enable only when the fields are valid.
When an user clicks Cancelar or when Guardar is done, all of inputs should be replaced for the standard display info sections.
In the course details view (e.g
/cursos/Curso%20Vital%20de%20Programación%20Neuro-Lingüistica-2
) you must add functionality to allow to an instructor edit a course.The main idea is: