# File lib/simple_form/form_builder.rb, line 88 def input(attribute_name, options={}, &block) column = find_attribute_column(attribute_name) input_type = default_input_type(attribute_name, column, options) if block_given? SimpleForm::Inputs::BlockInput.new(self, attribute_name, column, input_type, options, &block).render else find_mapping(input_type).new(self, attribute_name, column, input_type, options).render end end