2018-03-18 23:57:00 -06:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>App Name - @yield('title')</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2018-09-05 02:07:19 -06:00
|
|
|
@section('sidebar')
|
|
|
|
This is the {{ $mater }} sidebar.
|
2018-03-18 23:57:00 -06:00
|
|
|
@show
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
@yield('content')
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@component('alert')
|
2018-09-05 02:07:19 -06:00
|
|
|
@slot('title')
|
|
|
|
Forbidden
|
2018-03-18 23:57:00 -06:00
|
|
|
@endslot
|
|
|
|
<strong>Whoops!</strong> Something went wrong!
|
|
|
|
@endcomponent
|
|
|
|
|
2018-03-19 00:08:26 -06:00
|
|
|
@foreach ($users as $user)
|
|
|
|
@if ($user->type == 1)
|
2018-03-18 23:57:00 -06:00
|
|
|
@continue
|
|
|
|
@endif
|
|
|
|
<li>{{ $user->name }}</li>
|
2018-03-19 00:08:26 -06:00
|
|
|
@if ($user->number == 5)
|
2018-03-18 23:57:00 -06:00
|
|
|
@break
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
</body>
|
|
|
|
|
2018-03-19 18:17:07 -06:00
|
|
|
</html>
|