Module: C80RefinePrice::Inner::ModalHelper

Defined in:
app/helpers/c80_refine_price/inner/modal_helper.rb

Instance Method Summary collapse

Instance Method Details

#_render_bs_modal(content = '', title = '') ⇒ Object



5
6
7
8
9
10
11
12
# File 'app/helpers/c80_refine_price/inner/modal_helper.rb', line 5

def _render_bs_modal(content='', title='')
  render :partial => 'c80_refine_price/shared/inner/modal/bs_modal',
         :locals => {
             title: title,
             content: content,
             close_label: 'Закрыть'
         }
end