@extends('crm.layouts.app') @section('styles') @endsection @section('content')

{{__('ADD NEW FORM FIELD')}}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@php $types = [ __('text'), __('textarea'), __('number'), __('date'), __('time'), __('color'), __('datetime-local'), __('email'), __('checkbox'), __('hidden'), __('month'), __('password'), __('tel'), __('url'), __('week'), __('submit'), ] @endphp
{{--
--}}

{{__('FORM FIELDS')}}

@foreach (@$formfields as $formfield) @endforeach
{{__('Field Name')}} {{__('Field Type')}} {{__('Match to Lead')}} {{__('Char Limit')}} {{__('Actions')}}
{{@$formfield->name}} {{@$formfield->type}} {{@$formfield->matchLeadField}} {{@$formfield->limit}} @can('update-product', User::class) {{-- formfield edit modal Starts Here --}} {{-- formfield edit modal ends here --}} @endcan @can('delete-product', User::class)
@method('DELETE') @csrf
@endcan
@endsection @section('scripts') @include('crm.office.formfield.index_js') @endsection