Edit Create resource title text

Hey guys, Sorry if it sounds silly, but while working on my project, I've noticed that the text on every new resource adding is Create ... My question is what is the proper way to rename the text? For example I have a ressource named: Termination failure so it seems awkward if the ressource creation title is: Create Termination Failure. My idea is to change the text to: "Add a Termination Failure" which seem much more suitable and is part of my learning path how to rename the resource creation page title πŸ™‚ Eventually, if easily feasible as well, I would like to update the breadcrumb page title too so instead of: "Termination Failures > Create" to become the same as page title: "Termination Failures > Add a Termination Failure" So far I've tried to add a lable to the form directly but it seems to be ignored and not changed the title, so it has to be another option that I am not finding or not asking my question the right way πŸ˜‰
No description
Solution:
Have you tried mofiying these two properties on the CreateTerminationFailure page?
protected static ?string $breadcrumb = 'Add Termination Failure';
protected static ?string $title = 'Add Termination Failure';
protected static ?string $breadcrumb = 'Add Termination Failure';
protected static ?string $title = 'Add Termination Failure';
...
Jump to solution
2 Replies
Solution
tuto1902
tuto1902β€’15mo ago
Have you tried mofiying these two properties on the CreateTerminationFailure page?
protected static ?string $breadcrumb = 'Add Termination Failure';
protected static ?string $title = 'Add Termination Failure';
protected static ?string $breadcrumb = 'Add Termination Failure';
protected static ?string $title = 'Add Termination Failure';
tuto1902
tuto1902β€’15mo ago
sorry for the late response btw. I know, right? Take some time to go through the code of the base classes. That's how I find out most of these things.
Want results from more Discord servers?
Add your server