{!! Form::label('name', 'Movie Name') !!}
{!! Form::text('name', old('name'), ['class' => 'form-control']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! Form::label('year', 'Year') !!}
{!! Form::text('year', old('year'), ['class' => 'form-control positive', 'min' => 0]) !!}
@if ($errors->has('year'))
{{ $errors->first('year') }}
@endif
{!! Form::label('rating', 'Rating') !!}
{!! Form::text('rating', old('rating', $record->rating ?? 0.0), ['class' => 'form-control positive', 'min' => 0, 'step' => 0.1]) !!}
@if ($errors->has('rating'))
{{ $errors->first('rating') }}
@endif
{!! Form::label('duration', 'Duration') !!} (In Minutes)
{!! Form::text('duration', old('duration', $record->duration ?? 120), ['class' => 'form-control positive', 'min' => 0]) !!}
@if ($errors->has('duration'))
{{ $errors->first('duration') }}
@endif
{!! Form::label('poster', 'Poster Url') !!}
{!! Form::text('poster', old('poster'), ['class' => 'form-control']) !!}
@if ($errors->has('poster'))
{{ $errors->first('poster') }}
@endif
{{----}}
{{--
--}}
{{--
--}}
{{-- {!! Form::label('poster', 'Poster') !!}--}}
{{-- {!! Form::file('poster') !!}--}}
{{-- @if ($errors->has('poster'))--}}
{{-- --}}
{{-- {{ $errors->first('poster') }}--}}
{{-- --}}
{{-- @endif--}}
{{--
--}}
{{--
--}}
{{-- {!! Html::image($record->poster ?? '', null, ['class' => 'img-responsive pad', 'id' => 'pro_image', 'style' => 'max-width: 300px;max-height: 200px']) !!}--}}
{{--
--}}
{{--
--}}
{{--
--}}
{!! Form::submit('Save', ['class' => 'btn btn-primary btn-flat']) !!}
Cancel
@section('inlineJS')
@endsection