bh icon indicating copy to clipboard operation
bh copied to clipboard

Add no_button options for modal helper

Open Eric-Guo opened this issue 9 years ago • 1 comments

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();

Eric-Guo avatar Apr 14 '16 06:04 Eric-Guo

Coverage Status

Coverage remained the same at 100.0% when pulling 44b19cdae98b14d6cd09f055ac6eec8a361e6ea6 on Eric-Guo:no_button_for_modal_helper into 88a6398cf62081eea25a36f22ad79801780da4e3 on Fullscreen:master.

coveralls avatar Apr 14 '16 07:04 coveralls