Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow admin/teacher to edit a module #31

Closed
amellie opened this issue Jul 12, 2022 · 0 comments
Closed

Allow admin/teacher to edit a module #31

amellie opened this issue Jul 12, 2022 · 0 comments
Assignees

Comments

@amellie
Copy link
Collaborator

amellie commented Jul 12, 2022

Dependency

Depends on #21 and #27

Story

As a Teacher or an Admin
I Want to edit an existing module
So That I can keep the modules up to date

Acceptance Criteria

  • The edit capability should only be accessible by a teacher/admin
  • The edit page should be similar to the create module page (done in Allow a teacher or an admin to create a new module #15), which allows users to update the module name and module description.
  • Ensure that the validation is the same as what has been done in the create module page
  • The edit page can be accessed from the module list page created in Allow a teacher/admin to see the list of modules with controls #21. You need to modify the module list page so that when a user click the Edit button, the user will be redirected to this edit page
  • Upon submission of the edit page, the user should be redirected to the module list page with a message "Module has been updated" (if successful) or show an error message if unsuccessful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants