refactoring and a lot of new design
This commit is contained in:
@@ -46,9 +46,13 @@
|
||||
<?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 elseif(count($items)): ?>
|
||||
<?php print render($items[0]); ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user