@section('page_content')

{{ $page_title }}

+ Create New Field
@if($fields->count() > 0) @foreach($fields as $field) @endforeach @else @endif
Field Name Type Category Status Created Date Action
{{ $field->name }} {{ config('env.form_types')[$field->type] }} @foreach($categories as $category) @if(array_key_exists($field->id, $field_category->all()) && in_array($category->id, $field_category[$field->id]->pluck('category_id')->all())) {{ $category->name }} @endif @endforeach {{ $field->status == 1 ? 'Active':'Inactive' }} {{ $field->created_at->format('Y-m-d') }}
Currently no leads field exists in the database. Please add one now.
@stop