summaryrefslogtreecommitdiff
path: root/modules/node/node.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r--modules/node/node.pages.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc
index d18e7a779..11dfd5768 100644
--- a/modules/node/node.pages.inc
+++ b/modules/node/node.pages.inc
@@ -247,11 +247,7 @@ function node_form($form, &$form_state, $node) {
);
// Add the buttons.
- $form['actions'] = array(
- '#type' => 'container',
- '#attributes' => array('class' => array('form-actions')),
- '#weight' => 100,
- );
+ $form['actions'] = array('#type' => 'actions');
$form['actions']['submit'] = array(
'#type' => 'submit',
'#access' => variable_get('node_preview_' . $node->type, DRUPAL_OPTIONAL) != DRUPAL_REQUIRED || (!form_get_errors() && isset($form_state['node_preview'])),