Closed trebbyyy closed 4 months ago
put this into profile.html to allow users to delete posts `{% for current_user_post in current_user_posts %}
{{ current_user_post.desc }}
{% endfor %} `
We should also have an alert/pop-up to ensure the user wants to delete the post
Deletions work well, just need to make it so we can add a pop up!
put this into profile.html to allow users to delete posts `{% for current_user_post in current_user_posts %}
{{ current_user_post.title }}
{{ current_user_post.desc }}
{% if current_user == current_user_post.author %} {% endif %}{% endfor %} `