Sha256: 626e2ecff73d9d5ae9a31ffb74b88c2dd6dc817848a13a568b654f4de56fbbd7

Contents?: true

Size: 208 Bytes

Versions: 5

Compression:

Stored size: 208 Bytes

Contents

class Forms::TextFieldRenderer < Forms::FieldRenderer
  include Forms::LabelledFieldRenderer
  
  def render
    super { text_field_tag(name, value, html_options.merge(:type => field.input_type)) }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wheelhouse-forms-1.2.2 app/renderers/forms/text_field_renderer.rb
wheelhouse-forms-1.2.1 app/renderers/forms/text_field_renderer.rb
wheelhouse-forms-1.2 app/renderers/forms/text_field_renderer.rb
wheelhouse-forms-1.1 app/renderers/forms/text_field_renderer.rb
wheelhouse-forms-1.0 app/renderers/forms/text_field_renderer.rb