{!! Form::open(['route' => ['admin.orders.destroy', $id], 'method' => 'delete']) !!}
<div class='btn-group'>
    @ability('super-admin' ,'orders.show')
    <a href="{{route('admin.orders.index', ['parent_order_id'=> $id])}}" class='btn btn-default btn-xs'>
        <i class="glyphicon glyphicon-paperclip"></i>
    </a>
    @endability
    @ability('super-admin' ,'orders.show')
    <a href="{{ route('admin.orders.show', $id) }}" class='btn btn-default btn-xs'>
        <i class="glyphicon glyphicon-eye-open"></i>
    </a>
    @endability

    @ability('super-admin' ,'orders.edit')
    <a href="{{ route('admin.orders.edit', $id) }}" class='btn btn-default btn-xs btn_edit'>
        <i class="glyphicon glyphicon-edit"></i>
    </a>
    @endability
    @ability('super-admin' ,'orders.destroy')
    {!! Form::button('<i class="glyphicon glyphicon-trash"></i>', [
        'type' => 'submit',
        'class' => 'btn btn-danger btn-xs',
        'onclick' => "confirmDelete($(this).parents('form')[0]); return false;"
    ]) !!}
    @endability
</div>
{!! Form::close() !!}
