@extends('layouts.app') @section('content') @if(\Auth::user()->hasRole('admin')) @include('settings::partial.menu') @endif
@include('flash::message')

{!! \UserHelper::getEntityName($entity, true) !!}

@lang('core::core.crud.back')
@if($prev_record) @lang('core::core.crud.prev') @endif @if($next_record) @lang('core::core.crud.next') @endif
{!! Form::open(['route' => [$routes['destroy'], $entity], 'method' => 'delete']) !!} {!! Form::button(trans('core::core.crud.delete'), [ 'type' => 'submit', 'class' => 'btn m--margin-right-10 btn-outline-danger btn-edit btn-crud', 'onclick' => "return confirm($.i18n._('are_you_sure'))" ]) !!} {!! Form::close() !!}
@lang($language_file.'.edit') @if(isset($customShowButtons) && count($customShowButtons) > 0) @endif
@foreach($show_fields as $panelName => $panel) {{ Html::section($language_file,$panelName) }} @foreach($panel as $fieldName => $options) {{ Html::renderField($entity,$fieldName,$options,$language_file) }} @endforeach @endforeach
@foreach($includeViews as $v) @include($v) @endforeach @endsection @push('scripts') @foreach($jsFiles as $jsFile) @endforeach @endpush