@empty($fields) {{-- There was an error? --}}

There was a problem retrieving the fields for this fieldset.

@else {{-- NOTE: This stuff could work well also for the 'view this asset and do its custom fields' thing --}} {{-- I don't know if we break *here* or if we break per field element? --}} @foreach($fields as $field)
@if($field->element == "text") @elseif($field->element == "textarea")
@elseif($field->element == "listbox") @else Unknonown field element: {{ $field->element }} @endif
@endforeach @endif