/ Published in: Other
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
If not using the form_for/tabular_form_for to display errors - this is a way to cleanly display the first error. Putting the li tags will make it appear like the standard rails form_for generated error list. <%= error_message_on(@account, "owner_id", "<li>", "</li>", "error_message") %>
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)