@if (count($photos) == 0)

@lang('admin.album_no_photos_p1')

@if (Gate::check('upload-photos', $album))

@lang('admin.album_no_photos_p2')

@else

@lang('admin.album_no_photos_p2_no_upload')

@endif
@else
{{ csrf_field() }} {{ method_field('PUT') }} @foreach ($photos as $photo) @include (Theme::viewName('partials.single_photo_admin')) @endforeach

@lang('admin.select_all_album_active')

{{ $photos->links() }}
@endif