Commit 9d5dd4bc authored by Julien Cristau's avatar Julien Cristau
Browse files

[views] Make LogFormView compatible with bootstrap

The bootstrap cube changes the login_form API, so make our subclass
compatible with both the standard one and bootstrap's.  Closes #4451228.

parent 1da874c8dd50
......@@ -23,8 +23,8 @@ _ = unicode
class LogFormView(basetemplates.LogFormView):
def login_form(self, id):
super(LogFormView, self).login_form(id)
def login_form(self, *args, **kwargs):
super(LogFormView, self).login_form(*args, **kwargs)
self.w(u'<span class="forgotpwdLink"><a href="%s">%s</a></span>' % (
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment