You are here

brick--columns.tpl.php in Bricks​ 7.5

File

bricks_default/templates/brick--columns.tpl.php
View source
<?php

print $prefix;
if (!empty($content['bricks'])) {
  ?>
<div class="row">
  <?php

  foreach ($content['bricks'] as $brick) {
    ?>
  <div class="<?php

    print 'col-md-' . 12 / count($content['bricks']);
    ?>">
    <?php

    print render($brick);
    ?>
  </div>
  <?php

  }
  ?>
</div>
<?php

}
else {
  print $placeholder;
}
print $suffix;