mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
LoginForm: re-establish placeholder texts
This commit is contained in:
parent
4d4d19a7ef
commit
8c305f59f2
@ -32,7 +32,7 @@ class LoginForm extends Form
|
|||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'label' => t('Username'),
|
'label' => t('Username'),
|
||||||
'placeholder' => t(''),
|
'placeholder' => t('Please enter your username...'),
|
||||||
'class' => false === isset($formData['username']) ? 'autofocus' : ''
|
'class' => false === isset($formData['username']) ? 'autofocus' : ''
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -42,7 +42,7 @@ class LoginForm extends Form
|
|||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'label' => t('Password'),
|
'label' => t('Password'),
|
||||||
'placeholder' => t(''),
|
'placeholder' => t('...and your password'),
|
||||||
'class' => isset($formData['username']) ? 'autofocus' : ''
|
'class' => isset($formData['username']) ? 'autofocus' : ''
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user