Class: Pickel::FormBuilder

Inherits:
ActionView::Helpers::FormBuilder
  • Object
show all
Defined in:
lib/pickel/view_helper.rb

Instance Method Summary collapse

Instance Method Details

#submit(value = nil, options = {}) ⇒ Object



5
6
7
8
9
# File 'lib/pickel/view_helper.rb', line 5

def submit(value = nil, options = {})
  value, options = nil, value if value.is_a?(Hash)
  value ||= '検索' # TODO: I18n support
  super(value, options)
end