tmarkec / take_a_hike

0 stars 1 forks source link

Create CRUD for comments #20

Closed tmarkec closed 1 year ago

tmarkec commented 1 year ago

As a registered user I can update or delete my comments so that have more control over my content in case of errors, and to have better engagemant with other users

tmarkec commented 1 year ago

Acceptance criteria:

  1. Buttons displayed under users comment
  2. If user choose to delete, new modal should pop of for user to confirm his choice
  3. If user chose to update, should be redirected to new page on which he can update his comment
  4. Displayed messages

Tasks:

  1. Create delete function with delete button on the template
  2. Create URL's for that function
  3. Create update function with update button on the template
  4. Create URL's for that function
  5. Create separate template with form to update comment
  6. Create modal for user to confirm deleting his comment
  7. Create messages for changing content