Class: EndView::Bootstrap::FormModal

Inherits:
Object
  • Object
show all
Includes:
EndView
Defined in:
lib/end_view/bootstrap/form_modal.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from EndView

extended, included, new

Class Method Details

.render(*args, &b) ⇒ Object



12
13
14
# File 'lib/end_view/bootstrap/form_modal.rb', line 12

def self.render(*args, &b)
  new(*args).render(&b)
end

Instance Method Details

#render(*args, &b) ⇒ Object



18
19
20
# File 'lib/end_view/bootstrap/form_modal.rb', line 18

def render(*args, &b)
  super(*args) { Modal.render(id, opts_with_buttons, &b) }
end