# HG changeset patch # User Sylvain Thénault # Date 1266313324 -3600 # Node ID 13fd398916c201f93a9bac27f0b7d31fa6e2f6d6 # Parent bb08a75832e6e87782f7ab881b1a4b3f754c062f specify login form dom id, don't render progress div diff -r bb08a75832e6 -r 13fd398916c2 web/views/basetemplates.py --- a/web/views/basetemplates.py Tue Feb 16 10:33:48 2010 +0100 +++ b/web/views/basetemplates.py Tue Feb 16 10:42:04 2010 +0100 @@ -464,6 +464,7 @@ class LogForm(forms.FieldsForm): __regid__ = 'logform' + domid = 'loginForm' # XXX have to recall fields name since python is mangling __login/__password __login = ff.StringField('__login', widget=fw.TextInput({'class': 'data'})) __password = ff.StringField('__password', label=_('password'), @@ -508,7 +509,7 @@ else: label = cw._('login') form.field_by_name('__login').label = label - self.w(form.render(table_class='')) + self.w(form.render(table_class='', display_progress_div=False)) cw.html_headers.add_onload('jQuery("#__login:visible").focus()') def login_form_url(req):