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

@lang($pageTitle)

@endsection @push('head-script') @endpush @section('content')
#
@lang('app.fields')
@lang('app.status')
{!! Form::open(['id'=>'editSettings','class'=>'ajax-form form-horizontal','method'=>'PUT']) !!}
@foreach ($leadFormFields as $item)
@lang('modules.lead.'.$item->field_name)
@if($item->required == 0)
status == 'active') checked @endif class="js-switch change-setting" data-color="#99d683" data-size="small" data-setting-id="{{ $item->id }}"/>
@endif
@endforeach @if($superadmin->google_recaptcha_status == 1)
@lang('modules.tickets.googleCaptcha')
lead_form_google_captcha == 1) checked @endif class="js-switch change-setting" data-color="#99d683" data-size="small" data-setting-id="0"/>
@endif
{!! Form::close() !!}

@lang('modules.lead.iframeSnippet')

@php $copyData = ''; @endphp
<iframe src="{{ route('front.leadForm', md5(company()->id)) }}" width="100%" frameborder="0"></iframe>

@lang('app.preview')


@endsection @push('footer-script')