jeudi 1 octobre 2015

What is the proper way to include a partial view in Laravel 5?

I am trying to create a form for our users to update account info. I have a package built so that users can create custom lists to choose qualifications from to display on their profiles. I have a partial view created for the custom lists that loops through all of the lists for that entity type to get which ones to display on the form.

The problem i'm having is that the @include() only works when I put it in the @section('content) area, but then the rest of the content from the including blade is not shown, only what is included. If i put the include in its own section, it doesnt show.



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

Aucun commentaire:

Enregistrer un commentaire