bh
bh copied to clipboard
Add no_button options for modal helper
Sometime we just want to show modal immediately, for example when render js in AJAX jquery ujs way.
$('#bs_alarm').html('<%= j modal('Success!', id: 'mbo_modal', no_button: true) -%>');
$('#mbo_modal').modal();