Removes login form placeholder

This commit is contained in:
Bernd Erk 2014-11-13 15:08:49 +01:00
parent ef2ec0442c
commit 45418bd902
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class LoginForm extends Form
array(
'required' => true,
'label' => t('Username'),
'placeholder' => t('Please enter your username...'),
'placeholder' => t(''),
'class' => false === isset($formData['username']) ? 'autofocus' : ''
)
);
@ -42,7 +42,7 @@ class LoginForm extends Form
array(
'required' => true,
'label' => t('Password'),
'placeholder' => t('...and your password'),
'placeholder' => t(''),
'class' => isset($formData['username']) ? 'autofocus' : ''
)
);