diff options
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/book.module b/modules/book.module index f9c1d6a8c..e800b8f50 100644 --- a/modules/book.module +++ b/modules/book.module @@ -251,10 +251,8 @@ function book_form(&$node) { '#description' => t('The parent that this page belongs in. Note that pages whose parent is <top-level> are regarded as independent, top-level books.') ); - $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title); - $form['body'] = array( - '#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE - ); + $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5); + $form['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE); $form['format'] = filter_form($node->format); $form['log'] = array( |