2018-05-26 22:40:39 +00:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="card mt-5">
|
|
|
|
<div class="card-body p-0">
|
|
|
|
<div class="row">
|
|
|
|
@include('settings.partial.sidebar')
|
|
|
|
<div class="col-12 col-md-9 p-5">
|
|
|
|
@if (session('status'))
|
2018-07-24 05:09:45 +00:00
|
|
|
<div class="alert alert-success font-weight-bold">
|
2018-05-26 22:40:39 +00:00
|
|
|
{{ session('status') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
2018-11-17 20:41:00 +00:00
|
|
|
@if (session('errors'))
|
2018-05-30 02:35:31 +00:00
|
|
|
<div class="alert alert-danger">
|
2018-07-24 05:09:45 +00:00
|
|
|
<ul class="mb-0">
|
2018-11-17 20:41:00 +00:00
|
|
|
@foreach (session('errors') as $error)
|
2018-07-24 05:09:45 +00:00
|
|
|
<li class="font-weight-bold">{{ $error }}</li>
|
2018-05-30 02:35:31 +00:00
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
@endif
|
2018-05-26 22:40:39 +00:00
|
|
|
@yield('section')
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-04-16 03:39:06 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@push('scripts')
|
|
|
|
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
new Vue({
|
|
|
|
el: '#content'
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@endpush
|