class SimpleForm::FormBuilder

def input_field(attribute_name, options={})


name="user[name]" size="100" type="text" value="Carlos" />

This is the output html (only the input portion, not the form):

end
f.input_field :name
simple_form_for @user do |f|

== Examples

are sent as :input_html.
Creates a input tag for the given attribute. All the given options
def input_field(attribute_name, options={})
  options = options.dup
  options[:input_html] = options.except(:as, :collection, :label_method, :value_method)
  SimpleForm::Wrappers::Root.new([:input], :wrapper => false).render find_input(attribute_name, options)
end