You are here

field--fences-rt.tpl.php in Fences 7.2

Same filename and directory in other branches
  1. 7 templates/field--fences-rt.tpl.php

field--fences-rt.tpl.php Wrap each field value in the <rt> element.

File

templates/field--fences-rt.tpl.php
View source
<?php

/**
 * @file field--fences-rt.tpl.php
 * Wrap each field value in the <rt> element.
 *
 * @see http://developers.whatwg.org/text-level-semantics.html#the-rt-element
 */
?>
<h3 class="field-label<?php

if ($element['#label_display'] == 'inline') {
  print " inline-sibling";
}
?>"<?php

print $title_attributes;
?>>
  <?php

print $label;
?>
</h3>

<?php

foreach ($items as $delta => $item) {
  ?>
  <rt class="<?php

  print $classes;
  ?>"<?php

  print $attributes;
  ?>>
    <?php

  print render($item);
  ?>
  </rt>
<?php

}