You are here

views-view-unformatted.tpl.php in Views (for Drupal 7) 8.3

Default simple view template to display a list of rows.

File

theme/views-view-unformatted.tpl.php
View source
<?php

/**
 * @file
 * Default simple view template to display a list of rows.
 *
 * @ingroup views_templates
 */
if (!empty($title)) {
  ?>
  <h3><?php

  print $title;
  ?></h3>
<?php

}
foreach ($rows as $id => $row) {
  ?>
  <div <?php

  if ($row_classes[$id]) {
    print 'class="' . $row_classes[$id] . '"';
  }
  ?>>
    <?php

  print $row;
  ?>
  </div>
<?php

}

Related topics