<!-- requires local variables:
id: to identify the modal container
title: to display a message in the modal header
yield will get replaced with the partial passed to this layout
-->
<div class="modal fade" id="<%= id %>" tabindex="-1" role="dialog" aria-labelledby="modal-title">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modal-title">
<%= title %>
</h4>
</div>
<div class="modal-body">
<%= yield %>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>