
<a class="modal-effect btn btn-sm btn-danger" data-effect="effect-scale" data-toggle="modal" href="#modaldemo9{{$id}}" title="delete">
      <i class="fa fa-trash"></i>
</a>
<div class="modal" id="modaldemo9{{$id}}">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content modal-content-demo">
                <form method="POST"  action-"">
                 @csrf    
                    <div class="modal-header">
                        <h6 class="modal-title">DELETE</h6><button aria-label="Close" class="close" data-dismiss="modal"
                            type="button"><span aria-hidden="true">&times;</span></button>
                    </div>
                    
                        <div class="modal-body">
                            <p> Are you delete</p><br>
                        </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">الغاء</button>
                       <a  href="{{ $href }}" class="btn btn-sm btn-danger" onclick="hideModal()"> save </a>
                    </div>
                </form>
        </div>
    </div>
</div>