There is a small bug in page.tpl.php:

 <?php if ($tabs): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?>

The $tabs variable is a non empty array even if there are no tabs to print. To make sure that the "tabs" div is printed only when needed, you could do this:

 <?php if ($tabs && ($tabs['#primary'] || $tabs['#secondary'])): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?>

Comments

bryanbraun’s picture

Assigned: Unassigned » bryanbraun

Thanks for flagging this. I'm integrating it into the next release.

bryanbraun’s picture

Status: Active » Closed (fixed)

This has been fixed and committed to 7.x-2.x-dev: http://drupalcode.org/project/writer.git/commit/9972229