Ruby on Rails Thursday, August 29, 2013

On 29 August 2013 21:03, Jorge C. <lists@ruby-forum.com> wrote:
> Hi all,
>
> I have created a form to insert new records (see "Selección_001.png")
> with two mandatory fields ("name" and "surname") but if I try to insert
> a blank record (so it is invalid) I get the two errors (that is correct)
> but the page layout is modified (see "Selección_002.png"), which is not
> correct.
>
> As you can see "Name" label, "name" text box, "Surname" label, and
> "surname" text box are moved each one to a new line (which is different
> from to original layout)
>
> I have tried to delete ALL css files on the folder but without success
> ("Selección_003.png"), the red color disappears but the layout is still
> modified ;-(
>
> Does anybody know what file I have to update to avoid this change in my
> layout?

Using Firebug in Firefox you can inspect the css and see what is going
on. Also inspect the html and see what has changed there.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu2AtKBLg--jqaeZv-rw8S4ArODAxmDu3Sr5L0uDn3%2BMg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment