2011-09-03 09:13:29 +00:00
|
|
|
module SimpleForm
|
|
|
|
module Inputs
|
|
|
|
class TextInput < Base
|
2011-12-04 12:29:59 +00:00
|
|
|
enable :placeholder, :maxlength
|
|
|
|
|
2014-03-10 21:41:36 +00:00
|
|
|
def input(context)
|
2014-03-11 13:30:49 +00:00
|
|
|
@builder.text_area(attribute_name, merged_input_options(context.options))
|
2011-09-03 09:13:29 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|