2011-04-27 15:26:02 -04:00
|
|
|
class StringInput < SimpleForm::Inputs::StringInput
|
|
|
|
def input
|
|
|
|
"<section>#{super}</section>".html_safe
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NumericInput < SimpleForm::Inputs::NumericInput
|
|
|
|
def input
|
|
|
|
"<section>#{super}</section>".html_safe
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CustomizedInput < SimpleForm::Inputs::StringInput
|
|
|
|
def input
|
|
|
|
"<section>#{super}</section>".html_safe
|
|
|
|
end
|
2011-09-08 09:28:28 -04:00
|
|
|
|
2011-04-27 15:26:02 -04:00
|
|
|
def input_method
|
|
|
|
:text_field
|
|
|
|
end
|
2011-09-08 09:28:28 -04:00
|
|
|
end
|