From 6f6aed821387075de8c22da55c5620c04cda0dc1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 20 May 2008 13:47:59 -0400 Subject: better forms for new theme darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz --- actions/password.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'actions/password.php') diff --git a/actions/password.php b/actions/password.php index 4174b6d01..6eba136ce 100644 --- a/actions/password.php +++ b/actions/password.php @@ -34,10 +34,7 @@ class PasswordAction extends SettingsAction { common_password('oldpassword', _t('Old password')); common_password('newpassword', _t('New password')); common_password('confirm', _t('Confirm')); - common_element('input', array('name' => 'submit', - 'type' => 'submit', - 'id' => 'submit', - 'value' => _t('Change'))); + common_submit('submit', _t('Change')); common_element_end('form'); common_show_footer(); } -- cgit v1.2.3-54-g00ecf