@php $http_referrer = \URL::previous() ?? url($crud->route); $http_referrer = str_replace("\n", "", $http_referrer); @endphp {{-- See if we're using tabs --}} @if ($crud->tabsEnabled() && count($crud->getTabs())) @include('crud::inc.show_tabbed_fields') @else
@include('crud::inc.show_fields', ['fields' => $crud->fields()])
@endif {{-- 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