[icinga-checkins] icinga.org: icingaweb2/feature/add-to-dashboard-4537: LoginForm: re-establish placeholder texts

git at icinga.org git at icinga.org
Wed Nov 19 11:48:09 CET 2014


Module: icingaweb2
Branch: feature/add-to-dashboard-4537
Commit: 8c305f59f2bbc2426847cabf1b3283a373c4ad10
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=8c305f59f2bbc2426847cabf1b3283a373c4ad10

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Nov 19 06:56:36 2014 +0100

LoginForm: re-establish placeholder texts

---

 application/forms/Authentication/LoginForm.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/forms/Authentication/LoginForm.php b/application/forms/Authentication/LoginForm.php
index 41107be..a6d69d1 100644
--- a/application/forms/Authentication/LoginForm.php
+++ b/application/forms/Authentication/LoginForm.php
@@ -32,7 +32,7 @@ class LoginForm extends Form
             array(
                 'required'      => true,
                 'label'         => t('Username'),
-                'placeholder'   => t(''),
+                'placeholder'   => t('Please enter your username...'),
                 'class'         => false === isset($formData['username']) ? 'autofocus' : ''
             )
         );
@@ -42,7 +42,7 @@ class LoginForm extends Form
             array(
                 'required'      => true,
                 'label'         => t('Password'),
-                'placeholder'   => t(''),
+                'placeholder'   => t('...and your password'),
                 'class'         => isset($formData['username']) ? 'autofocus' : ''
             )
         );



More information about the icinga-checkins mailing list