Support the ongoing development of Laravel.io →
Views Blade
Last updated 1 year ago.
0
@yield('inline')

Related to this question is this:

http://laravel.io/forum/10-20-2014-blade-problem-with-layouts

Read this thread for additional information.

Last updated 1 year ago.
0

Thanks alexwenzel,

Solved:

<body class="@yield('body_class')">

@section('body_class', 'report')

Would be good if there was a way to conditionally display class="" but not a big deal.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

daviestar daviestar Joined 2 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.