Displaying 1 result from an estimated 1 matches for "myid_name".
Did you mean:
my_dbname
2006 Jul 29
0
error_messages_for - Custom formating
...rce of this method to see how easy it is.
///////////
So if I wanted to change the header tag to a h4 and change the default
id and class, I presume I would use this
<%= error_messages_for(''signup'', options = {:header_tag => ''h4'', :id =>
''myid_name'', :class => ''myclass_name''}) %>
However that doesn''t seem to change the default settings.
Also how can I change the overall html structure of the errors? For
example use <ol> instead of <ul>''s. I could just edit the original file,
j...