What conditions must be met for ‘fieldWithErrors’ automatic wrapping?
<% remote_form_for( :subscriber,
:update => ‘subscription’,
:url => {:controller => ‘subscribers’, :action =>
‘subscribe’}
) do |form| %>
<%= form.text_field :email, options = { :style => "width: 150px;" } %>
<%= submit_tag "Wyślij", options = { :class => "submit" } %>
<% end %>The above does not wrap email field with fieldWithErrors on error. Is it
problem with remote_form_for helper?
Thanks in advance!