Skip to content

Instantly share code, notes, and snippets.

@chered
Created February 1, 2019 12:39
Show Gist options
  • Save chered/3b6d7759c51acf1cf06a9a85e1b303c1 to your computer and use it in GitHub Desktop.
Save chered/3b6d7759c51acf1cf06a9a85e1b303c1 to your computer and use it in GitHub Desktop.
<?php if (isset($content['field_cube'])): ?>
<div class="c-field"><?php print render($content['field_cube']); ?><span class="tail-label"><?php print t('cubic feet');?></span></div>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment