Replies: 1 comment 1 reply
-
I prefer not to place buttons anymore since I was asked that instead of placing a button, click anywhere in the row, it is not a solution but it works for me. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a table and I want to add a button that takes me to a route, I do this as follows:
LinkColumn::make('Actions') ->title(fn ($row) => 'View') ->location(fn ($row) => route('admin.students.show', $row->id)) ->attributes(fn ($row) => [ 'class' => 'btn btn-primary btn-sm', ]),
But I need to not only see the "View" text but add a fontawesomen icon, for example:
View + Icon fas fa-info-circle
Thank you very much for reading and any guidance you can give me, greetings from Guatemala.
Beta Was this translation helpful? Give feedback.
All reactions