I came to laravel and I am having trouble with blade.
So I want to have my UI components reusable, I don't want to copy and paste HTML.
@include('blocks.js.modal', array(
'title' => "",
'close' => "",
'save' => ""
)
)
I pass a function helper to my partial template to use this variables but I can't manage to work
There's another way to do it, I think I'm missing something.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire