Hi, What's the correct way of writing a form?
I do the following: <%= form_for ... %> <p> <%= f.label :whatever %> <%= f.text_field :whatever %> </p> <%- end -%> Then I do some CSS to have all the labels aligned, and all the input fields aligned. The problem happens when a field is not valid, Rails wraps it in this stupid div with class fieldWithErrors (and what the hell is that camelCaseCrap?), so it blows my design out. Is there somewhere some easy CSS to circumvent that trouble? Nothing fancy, just a simple and clean form. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---