<div class="entity-attribute entity-attribute-view @if($errors->has((string) $attribute->getKey())) error @endif {!!$attribute->getStyleClass()!!}">
<label>{!! $attribute->getLabelText() !!}</label>
<div class="content">
@if(View::exists($viewName))
@include($viewName)
@else
<p>View "{{ $viewName }}" could not be loaded</p>
@endif
</div>
</div>