@extends('layouts.admin') @section('content') @php $CRUDLabels=[ 'studly'=>'BrochureSectionType' ]; foreach(['kebab','snake'] AS $m){ $CRUDLabels[$m]=\Illuminate\Support\Str::{$m}($CRUDLabels['studly']); } $CRUDLabels['plural']=\Illuminate\Support\Str::plural($CRUDLabels['snake']); \Helpers::config(['labelPrefix'=>'common_labels']); @endphp

{{\Helpers::trans($CRUDLabels['snake'].'.caption',[],\Helpers::config('languageCode'))}}

{{\Helpers::trans('common_labels.name')}}
@include($CRUDLabels['snake'].'.form') @endsection