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/profilesettings.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'actions/profilesettings.php') diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 15c455fe2..ab8175901 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -46,10 +46,7 @@ class ProfilesettingsAction extends SettingsAction { ($this->arg('bio')) ? $this->arg('bio') : $profile->bio); common_input('location', _t('Location'), ($this->arg('location')) ? $this->arg('location') : $profile->location); - common_element('input', array('name' => 'submit', - 'type' => 'submit', - 'id' => 'submit', - 'value' => _t('Save'))); + common_submit('submit', _t('Save')); common_element_end('form'); common_show_footer(); } -- cgit v1.2.3-54-g00ecf