Class: ActionView::Helpers::FormBuilder
- Includes:
- ModelNaming
- Defined in:
- lib/amelia/action_view/helpers/form_helper.rb
Instance Method Summary collapse
Instance Method Details
#submit(value = nil, options = {}) ⇒ Object
16 17 18 19 20 |
# File 'lib/amelia/action_view/helpers/form_helper.rb', line 16 def submit(value=nil, ={}) value, = nil, value if value.is_a?(Hash) value ||= submit_default_value @template.submit_tag(value.internationalization, ) end |