{{-- Show the erros, if any --}} @if ($errors->any())

{{ trans('admin::messages.please_fix') }}

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Show the inputs --}} @foreach ($fields as $field) @include('admin::panel.fields.'.$field['type'], ['field' => $field]) @endforeach
{{-- Define blade stacks so css and js can be pushed from the fields to these sections. --}} @section('after_styles') @stack('crud_fields_styles') @endsection @section('after_scripts') @stack('crud_fields_scripts') @endsection