auth.login() handles its own processing, so you don't need to do login_form.accepts(). So, just use auth.login() wherever you need it.
Anthony On Monday, November 14, 2011 3:58:52 PM UTC-5, Chris wrote: > > Hello, > > I'd like to make a login form and have it be accessible in multiple > pages, without having to rewrite the same code in every single > controller action: > > login_form = auth.login() > if login_form.accepts(... > > Is this possible? > > Thanks, > Chris

