Create a React component and route for the Create Page.
The user story this supports is:
As an instructor or admin
I can enter information about my course staff
So that I can delegate some functions to TAs/LAs
Acceptance Critieria:
[ ] When you navigate to /courses/{id}/staff in the URL bar,
there is page that allows the user to create a new Staff record for the
course in question.
[ ] When you enter data into the form and click the submit button,
if the data is valid, the data is sent to the server,
a new Staff record is created for the course in question.
[ ] When you enter data into the form and click the submit button,
if the data is not valid, appropriate error messages are displayed,
the data is NOT sent to the server, a new Staff record is NOT created.
[ ] When you submit valid data to the page and click submit, a new valid database
entry is stored in the database.
Create a React component and route for the Create Page. The user story this supports is:
As an instructor or admin I can enter information about my course staff So that I can delegate some functions to TAs/LAs
Acceptance Critieria:
[ ] When you navigate to /courses/{id}/staff in the URL bar, there is page that allows the user to create a new Staff record for the course in question.
[ ] When you enter data into the form and click the submit button, if the data is valid, the data is sent to the server, a new Staff record is created for the course in question.
[ ] When you enter data into the form and click the submit button, if the data is not valid, appropriate error messages are displayed, the data is NOT sent to the server, a new Staff record is NOT created.
[ ] When you submit valid data to the page and click submit, a new valid database entry is stored in the database.