You are here

bootstrap-4-4-4-stacked.tpl.php in Display Suite Bootstrap Layouts 7

Bootstrap 4-4-4 Stacked template for Display Suite.

File

layouts/threecol/bootstrap_4_4_4_stacked/bootstrap-4-4-4-stacked.tpl.php
View source
<?php

/**
 * @file
 * Bootstrap 4-4-4 Stacked template for Display Suite.
 */
?>


<<?php

print $layout_wrapper;
print $layout_attributes;
?> class="<?php

print $classes;
?>">
  <?php

if (isset($title_suffix['contextual_links'])) {
  ?>
    <?php

  print render($title_suffix['contextual_links']);
  ?>
  <?php

}
?>
  <?php

if ($top) {
  ?>
    <div class="row">
      <<?php

  print $top_wrapper;
  ?> class="col-sm-12 <?php

  print $top_classes;
  ?>">
        <?php

  print $top;
  ?>
      </<?php

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

}
?>
  <?php

if ($left || $central || $right) {
  ?>
    <div class="row">
      <<?php

  print $left_wrapper;
  ?> class="col-sm-4 <?php

  print $left_classes;
  ?>">
        <?php

  print $left;
  ?>
      </<?php

  print $left_wrapper;
  ?>>
      <<?php

  print $central_wrapper;
  ?> class="col-sm-4 <?php

  print $central_classes;
  ?>">
        <?php

  print $central;
  ?>
      </<?php

  print $central_wrapper;
  ?>>
      <<?php

  print $right_wrapper;
  ?> class="col-sm-4 <?php

  print $right_classes;
  ?>">
        <?php

  print $right;
  ?>
      </<?php

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

}
?>
  <?php

if ($bottom) {
  ?>
    <div class="row">
      <<?php

  print $bottom_wrapper;
  ?> class="col-sm-12 <?php

  print $bottom_classes;
  ?>">
        <?php

  print $bottom;
  ?>
      </<?php

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

}
?>
</<?php

print $layout_wrapper;
?>>


<!-- Needed to activate display suite support on forms -->
<?php

if (!empty($drupal_render_children)) {
  ?>
  <?php

  print $drupal_render_children;
}