@extends('admin/layouts.master') @section('title', 'Private Course - Admin') @section('body') {{ __('adminstaticword.Add') }} {{ __('adminstaticword.PrivateCourse') }} << {{ __('adminstaticword.Back') }} {{ csrf_field() }} {{ method_field('PUT') }} {{ __('adminstaticword.Select') }} {{ __('adminstaticword.Course') }}: * @foreach ($courses as $cat) @if($cat->status == 1) id == $private['course_id'] ? 'selected' : ""}}>{{ $cat->title }} @endif @endforeach {{ __('Hide from ') }} {{ __('adminstaticword.Users') }}: * @foreach ($users as $user) @if($user->status == 1) id, $private['user_id'] ?: []) ? "selected": ""}}>{{ $user->fname }} @endif @endforeach @if(Auth::User()->role == "admin") {{ __('adminstaticword.Status') }}: status == 1 ? 'checked' : '' }} type="checkbox"/> @endif @endsection @section('scripts') @endsection