What conditions must be met for ''fieldWithErrors'' automatic
wrapping?
<% remote_form_for( :subscriber,
:update => ''subscription'',
:url => {:controller =>
''subscribers'', :action =>
''subscribe''}
) do |form| %>
<p>
<%= form.text_field :email, options = { :style => "width:
150px;" }
%>
</p>
<p>
<%= submit_tag "Wyślij", options = { :class =>
"submit" } %>
</p>
<% end %>
The above does not wrap email field with fieldWithErrors on error. Is it
problem with remote_form_for helper?
Thanks in advance!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---