@extends('themes.base.layout') @section('title', $album->name) @section('content')

{{ $album->name }}

{{ $album->description }}


{{-- Photos --}}
@if ($album->photos()->count() == 0)

@lang('admin.album_no_photos_p1')

@lang('admin.album_no_photos_p2')

@endif
{{-- Upload --}}

Upload single images

{!! Form::open(['route' => 'photos.store', 'method' => 'POST', 'files' => true]) !!} {!! Form::hidden('album_id', $album->id) !!}
{!! Form::file('photo[]', ['class' => 'control-label', 'multiple' => 'multiple']) !!}
{!! Form::submit(trans('forms.upload_action'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}

Bulk upload

{!! Form::open(['route' => 'photos.storeBulk', 'method' => 'POST', 'files' => true]) !!} {!! Form::hidden('album_id', $album->id) !!}
{!! Form::file('archive', ['class' => 'control-label']) !!}
{!! Form::submit(trans('forms.upload_action'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}
{{-- Settings --}}
@endsection @push('scripts') @endpush