{!! Form::open(['url' => action('\Modules\Essentials\Http\Controllers\EssentialsHolidayController@update', [$holiday->id]), 'method' => 'put', 'id' => 'add_holiday_form' ]) !!}

@lang( 'essentials::lang.edit_holiday' )

{!! Form::label('name', __( 'lang_v1.name' ) . ':*') !!} {!! Form::text('name', $holiday->name, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.name' ), 'required']); !!}
{!! Form::label('start_date', __( 'essentials::lang.start_date' ) . ':*') !!}
{!! Form::text('start_date', @format_date($holiday->start_date), ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.start_date' ), 'readonly' ]); !!}
{!! Form::label('end_date', __( 'essentials::lang.end_date' ) . ':*') !!}
{!! Form::text('end_date', @format_date($holiday->end_date), ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.end_date' ), 'readonly', 'required' ]); !!}
{!! Form::label('location_id', __( 'business.business_location' ) . ':') !!} {!! Form::select('location_id', $locations, $holiday->location_id, ['class' => 'form-control select2', 'placeholder' => __( 'lang_v1.all' ) ]); !!}
{!! Form::label('note', __( 'brand.note' ) . ':') !!} {!! Form::textarea('note', $holiday->note, ['class' => 'form-control', 'placeholder' => __( 'brand.note' ), 'rows' => 3 ]); !!}
{!! Form::close() !!}