Module: NyoiboHelper

Defined in:
app/helpers/nyoibo_helper.rb

Instance Method Summary collapse

Instance Method Details

#ws_form_for(model, options = {}, &block) ⇒ Object



2
3
4
5
6
7
8
9
# File 'app/helpers/nyoibo_helper.rb', line 2

def ws_form_for(model, options={}, &block)
  options[:html] ||= {}
  options[:html][:id] ||= 'ws-form'
  output = ''
  output << form_for(model, options, &block)
  output << (:div, '', :id => 'ws-progress')
  output.html_safe
end