Forum: Rails Germany Validation und partial

Posted by Werner Laude (Guest)
on 2009-03-09 20:13
(Received via mailing list)
Habe

def new
     @seminar = Seminar.new
     @partial = 'seminare'

new.html.erb
<%= render :partial => @partial, :locals => { :f => f } %>

Wenn die Validierung fehlschlägt wird das partial nicht geladen.
Kann mir jemand einen Tipp geben ?

Danke


Werner Laude
Lindenburger Allee 22  -  50931 
Köln
0221.8805 635

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://www.webagentur-laude.de

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.