BIG BIG BIG update
V0 of first interface going to refactor JS
This commit is contained in:
@@ -52,9 +52,13 @@ HTML comment.
|
||||
<?php if (!$label_hidden): ?>
|
||||
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>: </div>
|
||||
<?php endif; ?>
|
||||
<?php if(count($items) > 1): ?>
|
||||
<div class="field-items"<?php print $content_attributes; ?>>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<div class="field-item <?php print $delta % 2 ? 'odd' : 'even'; ?>"<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php print render($items[0]); ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user