app/views/shared/layouts/twitter_bootstrap/_modal.html.erb in voluntary-0.5.0 vs app/views/shared/layouts/twitter_bootstrap/_modal.html.erb in voluntary-0.5.1
- old
+ new
@@ -1,12 +1,16 @@
<% body ||= nil %>
<% footer ||= nil %>
-<div class="modal-header">
- <button type="button" id="close_bootstrap_modal_button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h3><%= title %></h3>
+<div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" id="close_bootstrap_modal_button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
+ <h3><%= title %></h3>
+ </div>
+ <div class="modal-body" style="overflow-y:none;">
+ <%= body || yield(:modal_body) %>
+ </div>
+ <div class="modal-footer">
+ <%= footer || yield(:modal_footer) %>
+ </div>
+ </div>
</div>
-<div class="modal-body" style="overflow-y:none;">
- <%= body || yield(:modal_body) %>
-</div>
-<div class="modal-footer">
- <%= footer || yield(:modal_footer) %>
-</div>
\ No newline at end of file