summaryrefslogtreecommitdiff
path: root/modules/story.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/story.module')
-rw-r--r--modules/story.module10
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/story.module b/modules/story.module
index 8ffb375ca..6cc443436 100644
--- a/modules/story.module
+++ b/modules/story.module
@@ -88,15 +88,11 @@ function story_form(&$node) {
$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['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
$form = array_merge($form, filter_form($node->format));
-
- $form['log'] = array(
- '#type' => 'textarea', '#title' => t('Log message'), '#default_value' => $node->log,
- '#description' => t('An explanation of the additions or updates being made to help other authors understand your motivations.')
+ $form['log'] = array('#type' => 'fieldset', '#title' => t('Log message'), '#collapsible' => TRUE, '#collapsed' => TRUE);
+ $form['log']['message'] = array('#type' => 'textarea', '#default_value' => $node->log, '#description' => t('An explanation of the additions or updates being made to help other authors understand your motivations.')
);
return $form;