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

Singularize object creation form resource name. #2684

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

Tresor11
Copy link
Member

Currently, the resource name on the object creation form is pluralized

This commit adds a `singular: true' parameter
to the display_resource_name method in the
object creation view to explicitly show the
resource name in singular form.

Before:

318019918-cbd11936-a1dd-470a-b945-efcd0ba28d17

After:
Screenshot 2024-10-15 at 16 14 45

issue #2561

Currently the resource name on the object creation
form is showing in plural form.

This commit adds a `singular: true' parameter
to the display_resource_name method in the
object creation view to explicitly show the
resource name in singular form.
@pablobm
Copy link
Collaborator

pablobm commented Nov 16, 2024

I think this is good, and I'm generally suspicious of titleize so that's a nice plus 👍 Thank you!

@pablobm pablobm merged commit 2eee100 into main Nov 16, 2024
11 checks passed
@pablobm pablobm deleted the tb-format-object-creatiion-page-title branch November 16, 2024 14:31
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.

In title on object creation form name of object showing in plural form
2 participants