MODAL EDIT IN LARAVEL (CRUD)

Hello guys!

In this tutorial, I will teach you how to create a modal for user edition. In this example, we will use a simple user edition form.

Previously, we used a separate page with a user edition form.

However, this page will no longer be used. Now, when you click the “New” button, a pop-up (Modal) containing the form will open.

This same content is also available in video format. You can watch it here 👇🏽

and the modal code is available on GitHub 👇🏽

https://github.com/mauriciocoelho/coffewithlaravel/blob/modal-edit/edit.blade.php

First, we’ll create the modal file. I suggest creating a folder inside users named modal, and inside that folder, create the file edit.blade.php.

 

Rolar para cima