@section('content') {{-- --}}
@if(count($albums) > 0)

Albumy

Dodaj album @if (count($albums) > 1)
@endif
@foreach ($albums as $album) @if ($content = $album->getAlbumContentByLanguage(ADMIN_LANGUAGE_ID)) @endif @if ($photos = $album->photos()->orderBy('sort', 'asc')->get()) @endif @endforeach
@if (count($photos) > 0) @foreach ($photos as $index => $photo) @if($class = ($photo->album_cover))
@endif @endforeach
@else

{{ Lang::get('cms.brak_zdjec_w_albumie') }}

@endif
@if(trim($content->title) == '') {{ Lang::get('cms.brak_tytulu') }} @else {{ $content->title }} @endif
active == 1) checked="checked" @else @endif >