Links

Instructions

The files have different names depending on the type of link. E.g. bl-edit.blade.php or bl-delete.blade.php etc. Each link's specifics are explained below:

Edit link usage: <x-bl.edit-link route="{{ route('edit-user', ['id' => 1]) }}" />
Important: route is required.

Delete link usage: <x-bl.delete-link route="{{ route('delete-user', ['id' => 1]) }}" />

Important: Do not put these both inside a <p> tag. Just put them side by side and adjust spacing accordingly. The block element of a `p` somehow disrups the components. Using a div does nothing.

Edit : This uses the modal component under the hood.