<%= (f.label field.underscored_name, field.label) %><%= (field.required ? content_tag('span', ' *', :class => 'required') : '') %> <% if field.rows > 1 %> <%= f.text_area field.underscored_name, :cols => 20, :rows => field.rows, :class => field.default_class(form_response) %> <% else %> <%= f.text_field field.underscored_name, :class => field.default_class(form_response) %> <% end %>