@include('template.head') {{ $page_name = 'author' }} @include('template.sidebar') @include('template.header') @include('template.rightpanel')

Author

@if ($priviladges['add'] == 1 || $priviladges['update'] == 1) {{--

{{ isset($type) == 'EDIT' ? 'Edit' : 'Add' }} Author


@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($priviladges['add'] == 1 || $priviladges['update'] == 1) @endif
--}} @endif

Author List


{{-- Add Author --}}
{{-- @if ($priviladges['update'] == 1 || $priviladges['delete'] == 1) --}} {{-- --}} {{-- @endif --}} @if (count($data) > 0) @foreach ($data as $row) {{-- @if ($priviladges['update'] == 1 || $priviladges['delete'] == 1) --}} {{-- @endif --}} @endforeach @else @endif
Title Action ByAction
{{ $row->name }} {{ isset($row->user->name) ? $row->user->name : '' }}
@if ($priviladges['update'] == 1) {{-- --}} {{-- @endif @if ($priviladges['delete'] == 1) @endif
{{-- {!! $data->links() !!} --}}
{{-- script start --}} @include('template.script') {{-- script end --}}