Skip to content

Fix capitalisation in groups#1479

Merged
I-Valchev merged 3 commits intomasterfrom
bobdenotter-patch-1
Jun 15, 2020
Merged

Fix capitalisation in groups#1479
I-Valchev merged 3 commits intomasterfrom
bobdenotter-patch-1

Conversation

@bobdenotter
Copy link
Copy Markdown
Member

Fixes #1473

@I-Valchev
Copy link
Copy Markdown
Member

@bobdenotter could we keep the first letter capitalization by default? It's kind of nice, I think.

@bobdenotter
Copy link
Copy Markdown
Member Author

@I-Valchev You're right, but using ucfirst will capitalize every word, including things like a and the. I've now added a method to bolt/common that does this much more nicely:

Screenshot 2020-06-15 at 15 59 28

@I-Valchev
Copy link
Copy Markdown
Member

That's cool, I like it!

Copy link
Copy Markdown
Member

@I-Valchev I-Valchev left a comment

Choose a reason for hiding this comment

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

🚂🚃🚃

@I-Valchev I-Valchev merged commit 41a94bf into master Jun 15, 2020
@I-Valchev I-Valchev deleted the bobdenotter-patch-1 branch June 15, 2020 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contenttypes field group text are always capitilized in edit page

2 participants