Module: BootstrapHelperized::Helper
- Defined in:
- lib/bootstrap_helperized/helper.rb
Instance Method Summary collapse
Instance Method Details
#standard_modal_box(options = {}, &block) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/bootstrap_helperized/helper.rb', line 5 def standard_modal_box( = {}, &block) css_id = [:id] box_title = [:title] @show_fade = [:show_fade] || false = { :id => css_id, :class => class_string, :role => 'dialog', :tabindex => '-1' } content_tag :div, do standard_modal_header(box_title) + standard_modal_content(&block) end end |