{!! Form::open(['url' => action([\Modules\Crm\Http\Controllers\PhoneListController::class, 'update'], ['phone_list' => $phone->id]), 'method' => 'PUT', 'id' => 'phone_list_edit_form']) !!}

@lang('messages.edit')

{!! Form::label('mobile_number', __('lang_v1.contact_no') . ':*') !!} {!! Form::text('mobile_number', $phone->mobile_number, ['class' => 'form-control', 'required']) !!}
{!! Form::label('contact_name', __('contact.name')) !!} {!! Form::text('contact_name', $phone->contact_name, ['class' => 'form-control']) !!}
{!! Form::label('status', __('sale.status') . ':*') !!} {!! Form::select('status', collect($statuses)->except('converted'), $phone->status, ['class' => 'form-control select2', 'required', 'style' => 'width:100%;']) !!}
{!! Form::label('assigned_to', __('crm::lang.assgined')) !!} {!! Form::select('assigned_to', $users, $phone->assigned_to, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'style' => 'width:100%;']) !!}
{!! Form::label('notes', __('crm::lang.description')) !!} {!! Form::textarea('notes', $phone->notes, ['class' => 'form-control', 'rows' => 2]) !!}
{!! Form::close() !!}