@include('links.header')
CMS List
@if(Auth::user()->role_id==1)
Add CMS
@endif
@if (Session::has('msg'))
| # | 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() !!} |