You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/admin/posts/group-edit.blade.php

28 lines
906 B
PHTML

@include('components.panel-header')
<div id="panel-preloader">
<div class="loader"></div>
</div>
<input type="hidden" id="panel-dir" @if(langIsRTL(config('app.locale'))) value="rtl" @else value="ltr" @endif>
<form action="{{route('admin.post.group-save',$post->slug)}}" method="post" id="ajax-sync-form">
@csrf
<div class="container pt-4" >
@include('components.err')
<h5>
{{__("Groups")}} [{{$post->title}}]
</h5>
<ul class="nested-ul">
{!!showCatNestedControl($groups,old('cat',isset($post)?$post->groups()->pluck('id')->toArray():[]))!!}
</ul>
</div>
<button class="action-btn circle-btn"
data-bs-toggle="tooltip"
data-bs-placement="top"
data-bs-custom-class="custom-tooltip"
data-bs-title="{{__("Save")}}"
id="categories-save-btn"
>
<i class="ri-save-2-line"></i>
</button>
</form>
@include('components.panel-footer')