{!! Form::open(['route' => ['forms.destroy', $id], 'method' => 'delete', 'class' => 'd-flex justify-content-between']) !!} {!! Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-icon btn-danger btn-sm', 'title' => 'Hapus', 'data-toggle' => 'tooltip', 'onclick' => "return confirm('Anda yakin ingin menghapus data ini?')" ]) !!} @if (($type == 1 || $type == 3) && (isAdminUnit() || isPersonInCharge())) @if ($type == 1 && !$f1done) @elseif ($type == 3) @endif @elseif ($type == 2 && isAssessmentTeam()) @endif {!! Form::close() !!}