@if($componentGroups->isNotEmpty())
@foreach($componentGroups as $componentGroup)
@if($componentGroup->enabled_components->isNotEmpty())
-
{{ $componentGroup->name }}
@foreach($componentGroup->enabled_components()->orderBy('order')->get() as $component)
@include('partials.component_input', compact($component))
@endforeach
@endif
@endforeach
@endif
@if($ungroupedComponents->isNotEmpty())
-
{{ trans('cachet.components.group.other') }}
@foreach($ungroupedComponents as $component)
@include('partials.component_input', compact($component))
@endforeach
@endif