garusis / marint_web

MI's Frontend project
0 stars 0 forks source link

Allow to an instructor to edit a course #90

Closed garusis closed 7 years ago

garusis commented 7 years ago

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:

  1. Somebody clicks on the Course name (or another course field) image
  2. The field is replaced for an input and two buttons (Guardar, Cancelar) are enabled on top page image
  3. 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.
  4. When an user clicks Cancelar or when Guardar is done, all of inputs should be replaced for the standard display info sections.