ENHANCEMENT Changed the "I've lost my password" action to a link instead, since the button is too prominent, and usability is poor having this as a form submit button.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64405 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-16 11:10:56 +00:00
parent e8e197c298
commit 85bcedf9e6

View File

@ -65,8 +65,8 @@ class MemberLoginForm extends LoginForm {
}
if(!$actions) {
$actions = new FieldSet(
new FormAction("dologin", _t('Member.BUTTONLOGIN', "Log in")),
new FormAction("forgotPassword", _t('Member.BUTTONLOSTPASSWORD', "I've lost my password"))
new FormAction('dologin', _t('Member.BUTTONLOGIN', "Log in")),
new LiteralField('forgotPassword', '<p><a href="Security/lostpassword">' . _t('Member.BUTTONLOSTPASSWORD', "I've lost my password") . '</a></p>')
);
}
}