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

24 lines
808 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="btn-close" data-dismiss="modal" aria-label="Close"></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>