summaryrefslogtreecommitdiff
path: root/modules/field/theme/field.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/theme/field.tpl.php')
-rw-r--r--modules/field/theme/field.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/theme/field.tpl.php b/modules/field/theme/field.tpl.php
index 1c8be235d..069ed48fa 100644
--- a/modules/field/theme/field.tpl.php
+++ b/modules/field/theme/field.tpl.php
@@ -13,6 +13,7 @@
* CSS. It can be manipulated through the variable $classes_array from
* preprocess functions. The default values can be one or more of the
* following:
+ * - field: The current template type, i.e., "theming hook".
* - field-name-[field_name]: The current field name. For example, if the
* field name is "field_description" it would result in
* "field-name-field-description".
@@ -23,7 +24,6 @@
*
* Other variables:
* - $object: The object to which the field is attached.
- * - $field: The field array.
* - $build_mode: Build mode, e.g. 'full', 'teaser'...
* - $field_name: The field name.
* - $field_type: The field type.
@@ -38,7 +38,7 @@
* @see template_preprocess_field()
*/
?>
-<div class="field <?php print $classes; ?> clearfix"<?php print $attributes; ?>>
+<div class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php if (!$label_hidden) : ?>
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>:&nbsp;</div>
<?php endif; ?>