<div class="entity-attribute entity-attribute-view<?php echo e(count($attribute->errors) == 0 ? '' : ' error'); ?> <?php echo e($attribute->class); ?>"> <label><?php echo $attribute->label; ?></label> <div class="content"> <?php echo $__env->make($attribute->viewName, array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> </div> </div>