In this hour, we are going to add the model such that Miranda use a kick on display and a model will
pop up here and just like this one, and we will paste it input form here so the user can type the details
of the items so you can update the items.
So now back to our panel chat before the end of the party, going to add the Moto Squibb.
So we go to the models.
And then we copy this one.
And I repeat here.
And then we kind of see a model tricker at the length.
So we'd call these costs.
And go to the edit icon and paste inside the cast, and also we have tech here and repace here and the
name should be Keota, this one, so we can call Petey's.
And at the time at the same time and we use this as an item model.
Now, we can try to refresh the page and see where that is work and.
It should not work because we haven't at the initialization script.
So the first thing is we have to look at the material ISIS script, so we copy to see the end and then
we page here.
And also we have to copy these initialization script and paste inside the JavaScript.
Now, we do not have any options here, so we can delete this.
Now we try to go to the Web page and then refresh and then click on the models.
Now you can see it pop up here.
Now we can edit the model instead of a bunch of that.
We can delete this and we can delete the footage.
And also we change things to be full.
And then we replace this paragraph with the form and we add the idea is AECO to edit form.
So it's better for us to grab this later.
And then we put cou input for you and then we paste its name as AMP and this one is Price and this one
we change this to a number because we want the value a number, and then we both add a placeholder and
the first one is item name and the other is item price.
So we can be friends again and see whether the forms looks good.
We can see the item names and also the item price here.
And we also have to add a button.
So right before the end of the phone we create a button and across a span and we price update.
Now we refresh the page and click on the pan and you can see the update button here.
So this is how to create a model form for at the time, the items.