You are here

node_field_field.tpl.php in Node Field 7.2

Template file for node_field_field theme. Render single node field.

File

theme/tpl/node_field_field.tpl.php
View source
<?php

/**
 * @file
 * Template file for node_field_field theme. Render single node field.
 */
if (!$hidden) {
  ?>
  <div class="node-field <?php

  print $class;
  ?>">
    <?php

  if ($show_title) {
    ?>
      <label class="title"><?php

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

  }
  ?>
    <div class="body"><?php

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

}