@extends('admin.layouts.app') @section('content')

{{ $section->title }}

@if( $comments ) @foreach( $comments as $result ) @endforeach @endif
Name Status Action
{{ ucfirst($result->name) }}
    @if($result->status == 1)
  • Active
  • @else
  • Inactive
  • @endif
@php $prodID = Crypt::encrypt($result->id); @endphp @if(Auth::user()->role_id == 2) @else
{{ Form::open(['route' => ['comment.destroy', $result->id], 'method' => 'delete']) }} {{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} {{ Form::close() }}
@endif
@endsection