diff options
Diffstat (limited to 'modules/contact/contact.pages.inc')
-rw-r--r-- | modules/contact/contact.pages.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc index 9059749e9..dfe511069 100644 --- a/modules/contact/contact.pages.inc +++ b/modules/contact/contact.pages.inc @@ -101,7 +101,10 @@ function contact_site_form($form, &$form_state) { '#title' => t('Send yourself a copy.'), '#access' => $user->uid, ); - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array( + '#type' => 'container', + '#attributes' => array('class' => array('form-actions')), + ); $form['actions']['submit'] = array( '#type' => 'submit', '#value' => t('Send message'), @@ -232,7 +235,11 @@ function contact_personal_form($form, &$form_state, $recipient) { '#title' => t('Send yourself a copy.'), '#access' => $user->uid, ); - $form['submit'] = array( + $form['actions'] = array( + '#type' => 'container', + '#attributes' => array('class' => array('form-actions')), + ); + $form['actions']['submit'] = array( '#type' => 'submit', '#value' => t('Send message'), ); |