Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Commit

Permalink
Add section names in layout view
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-epineer committed Sep 24, 2018
1 parent 054f152 commit d8f73de
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions resources/views/layouts/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,21 @@
<button type="submit">Logout</button>
</form>
</header>
<nav>
<nav data-kontour-section="{{ $view_manager->navSection() }}">
@foreach($widget_manager->getWidgetsForSection($view_manager->navSection()) as $widget)
{{ $widget }}
@endforeach
</nav>
<main>
<!-- Section {{ $view_manager->mainSection() }} -->
<main data-kontour-section="{{ $view_manager->mainSection() }}">
@yield($view_manager->mainSection())
<!-- End section {{ $view_manager->mainSection() }} -->
</main>
<aside>
<section data-kontour-section="{{ $view_manager->widgetSection() }}">
@section($view_manager->widgetSection())
@foreach($widget_manager->getWidgetsForSection($view_manager->widgetSection()) as $widget)
{{ $widget }}
@endforeach
@show
</aside>
</section>
@endsection

@push('styles')
Expand Down

0 comments on commit d8f73de

Please sign in to comment.