2012-01-09 14:49:59 +00:00
|
|
|
= f.input field.name.to_sym,
|
|
|
|
:label => field.label,
|
|
|
|
:hint => field.hint,
|
2012-02-01 01:01:42 +00:00
|
|
|
:as => field.text_formatting == 'html' ? :'Locomotive::Rte' : :text,
|
2012-01-09 14:49:59 +00:00
|
|
|
:input_html => { :class => field.text_formatting }
|