Forked from
project / bluecheese
1281 commits behind the upstream repository.
-
Neil Drumm authoredNeil Drumm authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
comment-wrapper.tpl.php 625 B
<?php
// Render the comments and form first to see if we need headings.
$comments = render($content['comments']);
?>
<section class="comments <?php print $classes; ?>"<?php print $attributes; ?>>
<?php if ($content['comments']): ?>
<?php print render($title_prefix); ?>
<h2 class="title"><?php print t('Comments'); ?></h2>
<?php print render($title_suffix); ?>
<?php endif; ?>
<?php print $comments; ?>
<?php if ($content['comment_form']): ?>
<h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
<?php print render($content['comment_form']); ?>
<?php endif; ?>
</section>