@include('links.header') CMS List
@if(Auth::user()->role_id==1) Add CMS @endif

@if (Session::has('msg')) @endif @if (Session::has('msg_e')) @endif
@if(!empty($cms_list)) @foreach($cms_list AS $index=>$value) @foreach($value->cms_descriptions as $desp) @endforeach @endforeach @endif
# Title URL Alias Status Date Action
# Title URL Alias Status Date Action
{{ $index+1 }} {{ $desp->title }} {{ $value->url_alias }} @if($value->status == 1) {{ 'Active'}} @else {{'In-Active'}} @endif {{ $value->created_at->format('d/m/Y H:i') }} Edit    {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => "return confirm('Are you sure. You want to delete record!');", 'route' => ['cms.destroy', $value->id])) !!} {!! Form::submit('Delete', array('class' => 'btn btn-danger')) !!} {!! Form::close() !!}
@include('links.footer')