I use Ruby on Rails.
My view's source is :
<dl class="multi_list">
<dt>
<%= f.label :subject %>
</dt>
<dd>
<%= f.text_field :subject %>
</dd>
</dl>
I can see the result from browser like this:
■Subject
But after I submit the form, and runs the validate source. The form in my browser went:
■
Subject
Why?
I know the answer:
Rails 3: "field-with-errors" wrapper changes the page appearance. How to avoid this?
` and `- ` as well as the content of CSS class `multi_list`
– Raptor Jun 25 '13 at 02:14