vendredi 4 mars 2016

Create custom blade directive in laravel similar to section or yield

I want to create a blade directive for bootstrap model something like below

@model('modelid')
   <div>Model body content</div>
@endmodel

Which should generate a complete bootstrap model in html, How to create a custom blade directive to capture the html content and process it?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Qwh0Jo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire