@foreach($answers as $key=> $row) @if ($row->role != 'super_admin')
@endif {{ $row->answer }} @if($row->type == '1'){{ __('answers.correct') }}@else {{ __('answers.incorrect') }}@endif @if($row->questions){{ $row->questions->question }}@else {{__('question.deleted')}}@endif {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->role == 'super_admin') {{ __('dashboard.edit') }} @else @if($row->deleted_at) {{ __('dashboard.restore') }} {{ __('dashboard.delete') }} @else {{ __('dashboard.edit') }} {{ __('dashboard.trash') }} @endif @endif @endforeach @if( count( $answers ) && $answers->hasPages() ) {{ $answers->links() }} @endif