@extends('layouts.admin') @section('page-title') {{ $formBuilder->name.__("'s Form Field") }} @endsection @push('script-page') @endpush @section('breadcrumb') @endsection @section('action-btn') @can('create form field')
@endcan @endsection @section('content')
@if($formBuilder->form_field->count()) @foreach ($formBuilder->form_field as $field) @endforeach @endif
{{__('Name')}} {{__('Type')}} {{__('Action')}}
{{ $field->name }} {{ ucfirst($field->type) }} @can('edit form builder') @endcan @can('delete form builder')
{!! Form::open(['method' => 'DELETE', 'route' => ['form.field.destroy', [$formBuilder->id,$field->id]]]) !!} {!! Form::close() !!}
@endcan
@endsection