Allows for 'hide_in_gradebook' to be set on the new_quiz (assignment)
object when the checkbox is selected when creating/editing the quiz.
flag=hide_zero_point_quizzes_option
closes EVAL-3050
Test Plan:
- run migrations
- Create a New quiz
- Set the points possible to zero
- select the checkbox the appears and ensure the checkbox above is
automatically checked and disabled
- Save the quiz and ensure there are no errors
- Ensure you can edit the quiz normally and toggle this option on
and off
Change-Id: Idb126fa4dcc44b037b32468aa54afb26185bd982
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/318180
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Jackson Huang <jackson.huang@instructure.com>
QA-Review: Derek Williams <derek.williams@instructure.com>
Product-Review: Sam Garza <sam.garza@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>