@extends('admin.layouts.master') @section('title', 'Category Slider - Admin') @section('body') @include('admin.message') {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.Course') }} {{ csrf_field() }} {{ method_field('PUT') }} {{ __('adminstaticword.Title') }}:* {{ __('adminstaticword.SelectCourse') }}: * @foreach ($courses as $cat) @if($cat->status == 1) id, $cor['course_id'] ?: []) ? "selected": ""}}>{{ $cat->title }} @endif @endforeach {{ __('adminstaticword.Detail') }}:* {!! $cor->detail !!} {{ __('adminstaticword.Free') }}: type == '1' ? 'checked' : '' }}/> price =="" && $cor->price =="") class="display-none" @endif id="doabox"> {{ __('adminstaticword.Price') }}: * price =="" && $cor->discount_price =="") class="display-none" @endif id="doaboxx"> {{ __('adminstaticword.DiscountPrice') }}: * @if(Auth::User()->role == "admin") {{ __('adminstaticword.Featured') }}: featured==1 ? 'checked' : '' }}> @endif @if(Auth::User()->role == "admin") {{ __('adminstaticword.Status') }}: status==1 ? 'checked' : '' }}> @endif {{ __('adminstaticword.PreviewImage') }}: {{ __('adminstaticword.Chooseafile') }}… @if($cor['preview_image'] !== NULL && $cor['preview_image'] !== '') @else @endif @endsection @section('scripts') @endsection