NSS-Day-Cohort-49 / tabloid-mvc-streamers

tabloid-mvc-streamers created by GitHub Classroom
0 stars 0 forks source link

Create a Comment #28

Open joshdbarton opened 3 years ago

joshdbarton commented 3 years ago

As a commenter, I would like to be able to add a Comment to a Post so that I can take part in the discussion about a Post.

Given the user is viewing the Details of a Post When they select the Add Comment menu option Then they should be directed to a page with a form for creating a new Comment

Given the user has entered the relevant information for a Comment When they click the Save button Then the Comment should be saved to the database And the creation datetime should be automatically set to the current date and time And the user should be redirected to the new Comments list page for the related Post

The "relevant information" for a Comment is