{!! Form::open(['url'=>action([\Modules\Tms\Http\Controllers\CarrierController::class,'update'],[$carrier->id]),'method'=>'put','id'=>'tms_carrier_form']) !!}

@lang('tms::lang.edit') — {{ $carrier->name }}

{!! Form::label('name', __('tms::lang.name').':*') !!}{!! Form::text('name',$carrier->name,['class'=>'form-control','required']) !!}
{!! Form::label('carrier_type', __('tms::lang.carrier_type').':') !!}{!! Form::select('carrier_type',$carrier_types,$carrier->carrier_type,['class'=>'form-control']) !!}
{!! Form::label('contact_id', __('tms::lang.linked_contact').':') !!}{!! Form::select('contact_id',$suppliers,$carrier->contact_id,['class'=>'form-control select2','placeholder'=>__('tms::lang.select'),'style'=>'width:100%']) !!}
{!! Form::label('phone', __('tms::lang.phone').':') !!}{!! Form::text('phone',$carrier->phone,['class'=>'form-control']) !!}
{!! Form::label('email', __('tms::lang.email').':') !!}{!! Form::email('email',$carrier->email,['class'=>'form-control']) !!}
{!! Form::close() !!}