ok
Direktori : /home2/selectio/www/a1tex.in/resources/views/admin-views/business-settings/ |
Current File : /home2/selectio/www/a1tex.in/resources/views/admin-views/business-settings/page.blade.php |
@extends('layouts.back-end.app') @section('title', \App\CPU\translate(str_replace('-',' ',$page))) @push('css_or_js') @endpush @section('content') <div class="content container-fluid"> <!-- Page Title --> <div class="mb-3"> <h2 class="h1 mb-0 text-capitalize d-flex align-items-center gap-2"> <img width="20" src="{{asset('/public/assets/back-end/img/Pages.png')}}" alt=""> {{\App\CPU\translate('pages')}} </h2> </div> <!-- End Page Title --> <!-- Inlile Menu --> @include('admin-views.business-settings.pages-inline-menu') <!-- End Inlile Menu --> @php( $page_data= json_decode($data->value, true)) <div class="row"> <div class="col-md-12"> <div class="card"> <form action="{{route('admin.business-settings.page-update', [$page])}}" method="post"> @csrf <div class="card-header"> <h5 class="mb-0">{{\App\CPU\translate(str_replace('-',' ',$page))}}</h5> <label class="switcher show-status-text justify-content-end"> <input class="switcher_input" type="checkbox" name="status" value="1" {{$page_data['status']==1?'checked':''}}> <span class="switcher_control"></span> </label> </div> <div class="card-body"> <div class="form-group"> <textarea class="form-control" id="editor" name="value">{{ $page_data['content'] }}</textarea> </div> <div class="form-group"> <input class="form-control btn--primary" type="submit" value="{{\App\CPU\translate('submit')}}" name="btn"> </div> </div> </form> </div> </div> </div> </div> @endsection @push('script') {{--ck editor--}} <script src="{{asset('/')}}vendor/ckeditor/ckeditor/ckeditor.js"></script> <script src="{{asset('/')}}vendor/ckeditor/ckeditor/adapters/jquery.js"></script> <script> $('#editor').ckeditor({ contentsLangDirection : '{{Session::get('direction')}}', }); </script> {{--ck editor--}} @endpush