Commit a0bea004 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#200763 by JirkaRybka: add body field wrapper in node form for easier themeing

parent ebbd7ddc
......@@ -266,6 +266,9 @@ function node_body_field(&$node, $label, $word_count) {
$form = array(
'#after_build' => array('node_teaser_js'));
$form['#prefix'] = '<div class="body-field-wrapper">';
$form['#suffix'] = '</div>';
$form['teaser_js'] = array(
'#type' => 'textarea',
'#rows' => 10,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment