_modal.html.erb
775 Bytes
<div class="modal fade" id="noosferoModal" tabindex="-1" role="dialog" aria-labelledby="Noosfero" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content" id="noosferoModalContent">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only"><%= _('Close') %></span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>