Skip to content
Snippets Groups Projects
Commit 573bdba9 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #517850 by JohnAlbin: polish default comment-wrapper.tpl.php and associated CSS.

parent 6192e19f
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -31,16 +31,14 @@
*/
?>
<div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
<?php if ($node->type != 'forum'): ?>
<h2 class="comments"><?php print t('Comments'); ?></h2>
<?php if ($content['comments'] && $node->type != 'forum'): ?>
<h2 class="title"><?php print t('Comments'); ?></h2>
<?php endif; ?>
<?php print render($content['comments']); ?>
<?php if ($content['comment_form']): ?>
<h2 class="title"><?php print t('Post new comment'); ?></h2>
<div>
<?php print render($content['comment_form']); ?>
</div>
<h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
<?php print render($content['comment_form']); ?>
<?php endif; ?>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment