Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Rails Error layout

Sep 30, 2013 by Richard_123
Hi
 
I am using Rails and I recently created a new form to add new records with a few mandatory fields names but when I try to add blank records I get an error which is what is supposed to happen but the problem is that  page layout is changed. The labels are all moved to a new line. I tried deleting the CSS files . How can I fix this? Can anyone please help?
Thanks all

2 Answers

0 votes
Sep 30, 2013 by lightSpeed
Check your folder assets/stylesheets and look for  scaffold css . This file has css for the .field_with_error . Try removing that line and see if this fixes it
0 votes
Sep 30, 2013 by FixHost
in your class CSS add this line: display:inline-block