From 45228e853ab8bc6ebb16ebc85b3a0d89181c72ad Mon Sep 17 00:00:00 2001 From: Hank Stoever Date: Tue, 6 Nov 2012 18:16:09 -0800 Subject: [PATCH] fix small bug in views/login.html.haml Without this fix, the login form isn't displayed if you aren't using authlogic. Thanks for the great gem! --- .../nifty/authentication/templates/views/haml/login.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/nifty/authentication/templates/views/haml/login.html.haml b/lib/generators/nifty/authentication/templates/views/haml/login.html.haml index 22fc95b..d7b99b7 100644 --- a/lib/generators/nifty/authentication/templates/views/haml/login.html.haml +++ b/lib/generators/nifty/authentication/templates/views/haml/login.html.haml @@ -14,7 +14,7 @@ .actions = f.submit "Log in" <%- else -%> -- form_tag <%= session_plural_name %>_path do += form_tag <%= session_plural_name %>_path do .field = label_tag :login, "Username or Email Address" = text_field_tag :login, params[:login]