Displaying 2 results from an estimated 2 matches for "fotografoinfo".
2006 Jul 21
0
Ajax page.replace_html model validation errors
...ages from the failed validation.
So if that happens, I am getting in the view javascript trash and the
_form rendered twice.
I don''t know why. Here is the code:
I have a view called ''new'' that renders a partial definded like this:
<%= error_messages_for ''fotografoinfo'' %>
<div id="info2">
<%= render (:partial => ''form'') %>
</div>
the partiall _form has this:
<%= error_messages_for ''fotografoinfo'' %>
<%= form_remote_tag(:update => "info2", :url => {:con...
2006 Jul 24
0
Ajax page.replace_html model validation render partial errors
...know why. Here is the code:
I have a view called ''new'' that renders a partial definded like this:
<div id="info2">
<%= render (:partial => ''form'') %>
</div>
the partiall _form has this:
<%= error_messages_for ''fotografoinfo'' %>
<%= form_remote_tag(:update => "info2", :url => {:controller =>
''admin'', :action => ''create''}) %>
<p><label for="fotografoinfo_nombre">Nombre</label><br/>
<%= text_field ''...