[Jifty-commit] r1951 - in jifty/trunk: plugins/Login/share/web/templates

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Sep 11 12:22:25 EDT 2006


Author: jesse
Date: Mon Sep 11 12:22:24 2006
New Revision: 1951

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/plugins/Login/share/web/templates/signup

Log:
 r27366 at 113:  jesse | 2006-09-11 17:22:00 +0100
 * Get the signup form in the login plugin to respect locally defined schema for the user class


Modified: jifty/trunk/plugins/Login/share/web/templates/signup
==============================================================================
--- jifty/trunk/plugins/Login/share/web/templates/signup	(original)
+++ jifty/trunk/plugins/Login/share/web/templates/signup	Mon Sep 11 12:22:24 2006
@@ -5,10 +5,9 @@
 <&|/_elements/wrapper, title => 'Signup' &>
 <h2>Signup</h2>
 <% Jifty->web->form->start(call => $next, name => "signupbox") %>
-<% $action->form_field('email') %>
-<% $action->form_field('name') %>
-<% $action->form_field('password') %>
-<% $action->form_field('password_confirm') %>
+% foreach my $key ($action->argument_names) {
+<% $action->form_field($key) %>
+% }
 <% Jifty->web->form->submit(label => 'Signup', submit => $action) %>
 <% Jifty->web->form->end %>
 </&>


More information about the Jifty-commit mailing list