You are here

ds-form-3col.tpl.php in Display Suite 7

Display Suite 3 column stacked form template.

File

modules/ds_forms/layouts/ds_form_3col/ds-form-3col.tpl.php
View source
<?php

/**
 * @file
 * Display Suite 3 column stacked form template.
 */
?>
<div class="ds-form-3col-stacked clearfix">
  <?php

if ($header) {
  ?>
    <div class="group-header<?php

  print $header_classes;
  ?>">
      <?php

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

}
?>

  <?php

if ($left) {
  ?>
    <div class="group-left<?php

  print $left_classes;
  ?>">
      <?php

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

}
?>

  <?php

if ($middle) {
  ?>
    <div class="group-middle<?php

  print $middle_classes;
  ?>">
      <?php

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

}
?>

  <?php

if ($right) {
  ?>
    <div class="group-right<?php

  print $right_classes;
  ?>">
      <?php

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

}
?>

  <?php

if ($footer) {
  ?>
    <div class="group-footer<?php

  print $footer_classes;
  ?>">
      <?php

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

}
?>
</div>

<?php


// Print the rest of the form.
print drupal_render_children($form);