Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
[Upg] add confirm modal on delete items
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJuliuss committed Sep 1, 2013
1 parent 4110ace commit a4b123a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/views/layouts/dashboard/confirmation-modal.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div class="modal fade {{ $type }}" id="confirm-modal" tabindex="-1" role="dialog" aria-labelledby="confirm-modal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">{{ $title }}</h4>
</div>
<div class="modal-body">{{ $content }}</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">No</button>
<button type="button" class="btn btn-primary confirm-action">Yes</button>
</div>
</div>
</div>
</div>

0 comments on commit a4b123a

Please sign in to comment.