# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -165,17 +165,7 @@
   );

   if (!empty($type->body_label)) {
-    $form['body'] = array(
-      '#type' => 'textarea',
-      '#title' => check_plain($type->body_label),
-      '#rows' => 10,
-      '#required' => TRUE,
-      '#description' => t('The teaser is a piece of text to describe when the panel is listed (such as when promoted to front page); the actual content will only be displayed on the full node view.'),
-      '#default_value' => $node->body,
-    );
-    $form['format'] = filter_form($node->format); // Now we can set the format!
-    $form['format']['#default_value'] = $node->format;
-
+    $form['body_field'] = node_body_field($node, $type->body_label, $type->min_word_count);
   }

 //  drupal_set_message('<pre>' . check_plain(var_export($node, true)) . '</pre>');