@extends('admin.app') @section('content')
@if($groupSubRelations->new == 1) {{ __('variables.elements_list') }} {{ __('variables.add_subject') }} {{ __('variables.elements_basket') }} @else {{ __('variables.elements_list') }} {{ __('variables.elements_basket') }} @endif @if($groupSubRelations->del_to_rec == 1) @endif

@if(!empty($gallery_subject_list))
@if($groupSubRelations->active == 1) @endif @if($groupSubRelations->del_to_rec == 1) @endif @foreach($gallery_subject_list as $key => $one_gallery_subject_list) @if($groupSubRelations->del_to_rec == 1) @if(IfHasChildActive($one_gallery_subject_list->gallery_subject_id, 'gallery_subject')->isEmpty() && CheckIfSubjectHasItems('gallery', $one_gallery_subject_list->gallery_subject_id)->isEmpty()) @else @endif @endif @endforeach
{{__('variables.title_table')}} {{__('variables.edit_table')}}{{__('variables.active_table')}}{{__('variables.position_table')}}{{__('variables.delete_table')}}
{{ $loop->iteration }} {{!empty(IfHasName($one_gallery_subject_list->gallery_subject_id, $lang_id, 'gallery_subject')) ? IfHasName($one_gallery_subject_list->gallery_subject_id, $lang_id, 'gallery_subject') : __('variables.another_name')}} @foreach($lang_list as $lang_key => $one_lang) {{$one_lang->lang}} @endforeach
gallerySubjectId->active == 1 ? 'checked' : ''}}>
{{__('variables.delete_inner_modules')}}
@include('admin.templates.pagination', ['paginator' => $gallery_subject_id_list]) @else @include('admin.templates.empty-list') @endif
@stop