You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2017/09/20 21:49:00 UTC

allura git commit: fixup! Adds extra content block for masthead, Adds optional textbox placeholders

Repository: allura
Updated Branches:
  refs/heads/kt/login_page_extras b3d267a0a -> 9453300d4


fixup! Adds extra content block for masthead, Adds optional textbox placeholders


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/9453300d
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/9453300d
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/9453300d

Branch: refs/heads/kt/login_page_extras
Commit: 9453300d46409179e0e7bc1164c8b09ff0429557
Parents: b3d267a
Author: Kenton Taylor <kt...@slashdotmedia.com>
Authored: Wed Sep 20 15:12:29 2017 +0000
Committer: Kenton Taylor <kt...@slashdotmedia.com>
Committed: Wed Sep 20 15:12:29 2017 +0000

----------------------------------------------------------------------
 Allura/allura/lib/widgets/auth_widgets.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/9453300d/Allura/allura/lib/widgets/auth_widgets.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/auth_widgets.py b/Allura/allura/lib/widgets/auth_widgets.py
index 58a3dc5..4ab869e 100644
--- a/Allura/allura/lib/widgets/auth_widgets.py
+++ b/Allura/allura/lib/widgets/auth_widgets.py
@@ -39,11 +39,11 @@ class LoginForm(ForgeForm):
         fields = [
             ew.TextField(name=g.antispam.enc('username'), label='Username', attrs={
                 'autofocus': 'autofocus',
-                'placeholder': 'Username' if plugin.ThemeProvider.get().use_input_placeholders else ''
+                'placeholder': 'Username' if plugin.ThemeProvider.get().use_input_placeholders() else ''
 
             }),
             ew.PasswordField(name=g.antispam.enc('password'), label='Password', attrs={
-                'placeholder': 'Password' if plugin.ThemeProvider.get().use_input_placeholders else ''
+                'placeholder': 'Password' if plugin.ThemeProvider.get().use_input_placeholders() else ''
             }),
             ew.Checkbox(
                 name=g.antispam.enc('rememberme'),