{!! Form::label('movie_id', 'Movie') !!}
{!! Form::select('movie_id', $movies, old('movie_id'), ['class' => 'select2 form-control']) !!}
@if ($errors->has('movie_id'))
{{ $errors->first('movie_id') }}
@endif
{!! Form::label('theater_id', 'Theater') !!}
{!! Form::select('theater_id', $theaters, old('theater_id'), ['class' => 'select2 form-control']) !!}
@if ($errors->has('theater_id'))
{{ $errors->first('theater_id') }}
@endif
{!! Form::label('date', 'Show Date') !!}
{!! Form::text('date', old('date', $record->date_formatted ?? ''), ['class' => 'datepicker form-control', 'readonly']) !!}
@if ($errors->has('date'))
{{ $errors->first('date') }}
@endif
@if(old('show_times'))
@foreach(old('show_times') as $showTime)
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('0', $showTime[0], ['class' => 'timepicker form-control', 'readonly']) !!}
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('1', $showTime[1], ['class' => 'timepicker form-control', 'readonly']) !!}
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('2', $showTime[2], ['class' => 'timepicker form-control', 'readonly']) !!}
@endforeach
@elseif(isset($showTimes))
@foreach($showTimes as $showTime)
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('0', $showTime[0] ?? '', ['class' => 'timepicker form-control', 'readonly']) !!}
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('1', $showTime[1] ?? '', ['class' => 'timepicker form-control', 'readonly']) !!}
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('2', $showTime[2] ?? '', ['class' => 'timepicker form-control', 'readonly']) !!}
@endforeach
@else
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('0', old('show_times.0.0'), ['class' => 'timepicker form-control', 'readonly']) !!}
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('1', old('show_times.0.1'), ['class' => 'timepicker form-control', 'readonly']) !!}
{!! Form::label('time', 'Show Time') !!}
{!! Form::text('2', old('show_times.0.2'), ['class' => 'timepicker form-control', 'readonly']) !!}
@endif