{!! Form::open(['route' => ['representatives.destroy', $id], 'method' => 'delete']) !!}
@if (auth()->user()->can('representatives.edit')) @endif @if (auth()->user()->can('representatives.destroy')) {!! Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => 'return confirm("'.__('هل انت متأكد من حذف البيانات؟').'")' ]) !!} @endif
{!! Form::close() !!}