From 85bcedf9e61f674e37452104319f9a1c5ee2be67 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 16 Oct 2008 11:10:56 +0000 Subject: [PATCH] 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 --- security/MemberLoginForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/MemberLoginForm.php b/security/MemberLoginForm.php index 05f38d65f..3bc78d2f2 100644 --- a/security/MemberLoginForm.php +++ b/security/MemberLoginForm.php @@ -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', '

' . _t('Member.BUTTONLOSTPASSWORD', "I've lost my password") . '

') ); } }