Class: SecretSauce::Helpers::UiFormHelper::UiFormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- SecretSauce::Helpers::UiFormHelper::UiFormBuilder
- Defined in:
- lib/jquery/secret_sauce/helpers/ui_form_helper.rb
Instance Method Summary collapse
Instance Method Details
#error_messages ⇒ Object
12 13 14 |
# File 'lib/jquery/secret_sauce/helpers/ui_form_helper.rb', line 12 def @template.(object_name) end |
#submit(value, options = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/jquery/secret_sauce/helpers/ui_form_helper.rb', line 6 def submit(value, ={}) = {:id => "#{object_name}_submit"}.merge() @template.instance_variable_set("@ui_form_submit", [value, ]) nil end |