Skip to content

Edited Publish and Remove Buttons to use POST requests #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexgit55
Copy link

In the original code, the publish and remove buttons were still showing using regular buttons with tags, despite the text suggesting the use of forms. I wanted to update the code to use forms for the correct functionality and align with the description. For me, it also made more sense to refresh the post_draft_list page instead of going to the post_detail page so I could quickly verify that the post had been published and removed from the draft list.

In the original code, the publish and remove buttons were still showing using regular buttons with <a> tags, despite the text suggesting the use of forms.  I wanted to update the code to use forms for the correct functionality and be in line with what the description was saying
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant