I am having a problem creating a text area in my Simple Form. In the
example (http://simple-form-bootstrap.herokuapp.com/articles/new) the
code just uses f.input and class "Span12" but the html generated from
it somehow has a text area tag inside of it. When I try to do the
same, i just get an extra long single line text input. What am I
doing wrong? What would be the right Rails code for textarea?
Thanks!
Natascha
SimpleForm also lets you overwrite the default input type it creates:
<%= simple_form_for @user do |f| %>
<%= f.input :username %>
<%= f.input :password %>
<%= f.input :description, :as => :text %>
<%= f.input :accepts, :as => :radio %>
<%= f.button :submit %>
<% end %>