@extends('layout.master') @section('content')

@include('partials.errors')

{{ $appName }} {{ trans('cachet.subscriber.manage.notifications') }}

{{ trans('cachet.subscriber.manage.notifications_for') }} {{ $subscriber->email }}

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

{{ trans('cachet.subscriber.manage.no_subscriptions') }}

@endif
@stop