Skip to content
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

Hide save and add another button from edit.html if can_create is False #742

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

MaximZemskov
Copy link
Contributor

Fixed an issue where buttons for creating new items were still shown even when can_create was set to False, leading to a 403 error if clicked.

Copy link
Owner

@aminalaee aminalaee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR 👍

@aminalaee aminalaee merged commit 43bbb84 into aminalaee:main Apr 11, 2024
5 checks passed
@MaximZemskov MaximZemskov deleted the patch-1 branch April 11, 2024 07:47
@aminalaee aminalaee mentioned this pull request May 13, 2024
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.

2 participants