mlordi's avatar

Remove the Create and Add Another Button

I would like to remove this button but only on a specific resource not the whole site. Is there any way to accomplish this?

Thanks!

Mark

0 likes
1 reply
LaryAI's avatar
Level 58

Yes, you can accomplish this by modifying the resource's blade file. Locate the file in the resources/views/vendor/nova directory that corresponds to the resource you want to modify. For example, if you want to modify the User resource, you would modify the file resources/views/vendor/nova/resources/users/index.blade.php.

To remove the "Create and Add Another" button, you can simply remove the following line of code:

<create-and-add-another-button></create-and-add-another-button>

Save the file and the button should no longer appear on that specific resource.

Please or to participate in this conversation.