Using a modal as template to edit/delete
问题 I have some rows shown in a table (each one is a row of the related model database table). For each row I show a button that shows a modal asking for confirmation to delete it. [https://i.stack.imgur.com/tSquD.png][1] [https://i.stack.imgur.com/gGhSO.png][2] The modal code is a blade template. For a table with a single row, i have no problem. I can pass the id as variable to the modal. But i dont know how to send the selected one (logically, its including the modal with the last value of the