@extends('layouts.member-app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('modules.lead.updateTitle')
{!! Form::open(['id'=>'updateLead','class'=>'ajax-form','method'=>'PUT']) !!}

@lang('modules.lead.companyDetails')


@lang('modules.lead.leadDetails')


@lang('modules.lead.emailNote')
@foreach($fields as $field)
@if( $field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach($field->values as $key=>$value) @endforeach
@elseif($field->type == 'select') {!! Form::select('custom_fields_data['.$field->name.'_'.$field->id.']', $field->values, isset($lead)?$lead->custom_fields_data['field_'.$field->id]:'',['class' => 'form-control gender']) !!} @elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value) @endforeach
@elseif($field->type == 'date') @endif
@endforeach
@lang('app.back')
{!! Form::close() !!}
@endsection @push('footer-script') @endpush