Add New Company
{!! Form::open(['route' => ['companies.update', $company->id], 'method' => 'PATCH', 'class' => 'form-horizontal', 'id' => 'editCompanyForm', 'enctype' => 'multipart/form-data']) !!}
{{ Form::label('company_name', 'Company Name', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::text('company_name', $company->company_name, ['class' => 'form-control', 'id' => 'company_name', 'autocomplete' => 'off', 'placeholder' => 'Company Name', 'required']) }}
{{ Form::label('company_email', 'Email', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::email('company_email', $company->company_email, ['class' => 'form-control', 'id' => 'company_email', 'autocomplete' => 'off', 'placeholder' => 'Company Email', 'required']) }}
{{ Form::label('company_contact', 'Contact Number', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::select( //SELECT FORM 'dial_code', //name $dialCodesList, $company->dial_code, //value ['id' => 'dial_code', 'class' => 'form-control', 'data-toggle' => 'select2', 'required'] //attributes ) }}
{{ Form::text('company_contact', $company->company_contact, ['class' => 'form-control', 'id' => 'company_contact', 'autocomplete' => 'off', 'placeholder' => 'Contact Number', 'required']) }}
{{ Form::label('company_registration_number', 'Reg Number', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::text('company_registration_number', $company->company_registration_number, ['class' => 'form-control', 'id' => 'company_registration_number', 'autocomplete' => 'off', 'placeholder' => 'Company Registration Number']) }}
{{ Form::label('company_status_id', 'Status', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::select( //SELECT FORM 'company_status_id', //name $companyStatuses, $company->company_status_id, //value ['id' => 'company_status_id', 'class' => 'form-control', 'required'] //attributes ) }}
{{ Form::label('company_profile', 'Company Profile', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::textarea('company_profile', $company->company_profile, ['class' => 'form-control', 'id' => 'company_profile', 'rows'=> '5', 'autocomplete' => 'off', 'placeholder' => 'Contact Profile']) }}
{!! Form::close() !!}