summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 21:01:04 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 21:01:04 +0000
commitba6ef3017eb8ac1e6ccfd1ffebf97a476859315d (patch)
tree8d9f52358a4c0118b07a03d437c7d5dfe290999c /modules/profile
parent8c4b6239b48a46e754e23a803f4a28745b4eb027 (diff)
downloadbrdo-ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d.tar.gz
brdo-ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d.tar.bz2
#482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons.
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile.admin.inc4
1 files changed, 3 insertions, 1 deletions
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;