@extends('admin.layout.master') @section('css') @endsection @section('content') {{ __('admin.add') }} @csrf {{ __('admin.select_all') }} @foreach (languages() as $lang) {{ __('site.name_' . $lang) }} @endforeach @foreach ($routes as $routeKey => $value) @if (isset($value->getAction()['title']) && isset($value->getAction()['type']) && $value->getAction()['type'] == 'parent') {{-- card title --}} {{ __('routes.' . $value->getAction()['title']) }} {{ __('admin.select_all') }} {{-- card list --}} @if (isset($value->getAction()['child']) && count($value->getAction()['child'])) @foreach ($value->getAction()['child'] as $key => $child) {{ __('routes.' . $routes_data['"admin.' . $child . '"']['title']) }} @endforeach @else {{ __('admin.no_sub_routes') }} @endif @endif @endforeach {{ __('admin.add') }} {{ __('admin.back') }} @endsection @section('js') {{-- submit add form script --}} @include('admin.shared.submitAddForm') {{-- submit add form script --}} @endsection
{{ __('admin.select_all') }}
{{ __('routes.' . $value->getAction()['title']) }}