@if($errors->has('image')) {{ $errors->first('image') }} @endif
Odaberite glavnu sliku {!! Form::file('image', ['id' => 'fileUpload']) !!}
@foreach($locales as $locale)
{!! Form::label($locale.'[title]', 'Naslov *', ['class' => 'control-label']) !!} {!! Form::text($locale.'[title]', $gallery->translateOrNew($locale)->title, ['class' => 'form-control']) !!} @if($errors->has($locale.'.title')) {{ $errors->first($locale.'.title') }} @endif
@endforeach
{!! Form::label('date', 'Datum *', ['class' => 'control-label']) !!} {!! Form::text('date', null, ['class' => 'form-control datepicker']) !!} @if($errors->has('date')) {{ $errors->first('date') }} @endif
{!! Form::submit('Spremi', ['class' => 'btn btn-primary']) !!} {!! link_to_route('admin.gallery.index', 'Natrag', null, ['class' => 'btn btn-default']) !!}
@section('styles') @endsection