From ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 3 Jan 2010 21:01:04 +0000 Subject: #482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons. --- modules/profile/profile.admin.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index c7c103375..7503bcaa3 100644 --- a/modules/profile/profile.admin.inc +++ b/modules/profile/profile.admin.inc @@ -284,7 +284,9 @@ Unless you know what you are doing, it is highly recommended that you prefix the '#title' => t('Visible in user registration form.'), '#default_value' => $edit['register'], ); - $form['submit'] = array('#type' => 'submit', + + $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Save field'), ); return $form; -- cgit v1.2.3