@extends('layouts/contentLayoutMaster') @section('title', 'Edit Video') @section('vendor-style') @endsection @section('page-style') @endsection @section('content') @csrf @method('PUT') Video Details Title @error('title') {{ $message }} @enderror Select Category @foreach($categories as $category) videoCategory->id == $category->id ? 'selected' : ''}} value="{{$category->id}}">{{$category->name}} @endforeach @error('category') {{ $message }} @enderror Select Type type === 'SERVER' ? 'selected' : 'disabled' }} value="SERVER">Server type === 'YOUTUBE' ? 'selected' : 'disabled' }} value="YOUTUBE">Youtube @error('type') {{ $message }} @enderror Url @error('url') {{ $message }} @enderror @if($video->type == 'SERVER') Thumbnail @error('thumbnail') {{ $message }} @enderror @endif Update @endsection @section('vendor-script') @endsection @section('page-script') @endsection