@extends('admin.layout.master') @section('css') @endsection @section('content') {{ __('admin.edit') }} @method('put') @csrf {{ __('admin.select_all') }} id == 1) disabled @endif> @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') getName(), $my_routes) ? 'checked' : '' }} @if ($role->id == 1) disabled @endif> {{ __('routes.' . $value->getAction()['title']) }} {{ __('admin.select_all') }} id == 1) disabled @endif> @if (isset($value->getAction()['child']) && count($value->getAction()['child'])) @foreach ($value->getAction()['child'] as $key => $child) id == 1) disabled @endif> {{ __('routes.' . $routes_data['"admin.' . $child . '"']['title']) }} @endforeach @else {{ __('admin.no_sub_routes') }} @endif @endif @endforeach @if ($role->id != 1) {{ __('admin.update') }} @endif {{ __('admin.back') }} @endsection @section('js') {{-- submit edit form script --}} @include('admin.shared.submitEditForm') {{-- submit edit form script --}} @endsection
{{ __('admin.select_all') }}
{{ __('routes.' . $value->getAction()['title']) }}