LinkStack/resources/views/components/modal.blade.php

26 lines
881 B
PHP

<div class="modal" tabindex="-1" role="dialog" id="{{ $getModalIdString() }}">
<div class="modal-dialog modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">{{ $title }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
{{ $slot }}
</div>
<div class="modal-footer">
{{$buttons}}
{{-- <button type="button" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> --}}
</div>
</div>
</div>
</div>