Method: Satis::Forms::Builder#input
- Defined in:
- lib/satis/forms/builder.rb
#input(method, options = {}, &block) ⇒ Object
Regular input
30 31 32 33 34 35 36 37 |
# File 'lib/satis/forms/builder.rb', line 30 def input(method, = {}, &block) @form_options = [:input_html] ||= {} [:input_html][:disabled] = .delete(:disabled) send(input_type_for(method, ), method, , &block) end |