@extends('super_admins.layouts.master') @section('title') Edit Therapist Podcast @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif Podcast Home Therapist Broadcasts Edit Therapist Podcast @csrf @method('PUT') Multi Language @foreach ($active_languages as $key => $language) {{ $language->name }} @endforeach @foreach ($active_languages as $key => $language) Name ({{$language->code}}) @if ($errors->has('name.'.$language->code)) {{ $errors->first('name.'.$language->code) }} @endif Description ({{$language->code}}) {{ $therapist_podcast->getTranslation('description', $language->code); }} @if ($errors->has('description.'.$language->code)) {{ $errors->first('description.'.$language->code) }} @endif @endforeach @if (isset($tags)) Select Podcast Tags : @if (count($tags) > 0) Select Podcast Tags @foreach ($tags as $tag) {{ $tag->name }} @endforeach @else No Podcast Tag Exists @endif @if ($errors->has('tag_ids')) {{ $errors->first('tag_ids') }} @endif @endif File Type : Select File Type file_type == 'audio') selected @endif value="audio">Audio file_type == 'video') selected @endif value="video">Video @if ($errors->has('file_type')) {{ $errors->first('file_type') }} @endif Link Type : link_type == 'internal') selected @endif value="internal">Internal link_type == 'external') selected @endif value="external">External @if ($errors->has('link_type')) {{ $errors->first('link_type') }} @endif Choose File @if ($errors->has('file')) {{ $errors->first('file') }} @endif @if ($therapist_podcast->link_type == 'internal') @if($therapist_podcast->file_type == 'audio') Your browser does not support the audio element. @else Your browser does not support the video element. @endif @else -- No File Selected @endif External Link @if ($errors->has('file_url')) {{ $errors->first('file_url') }} @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select Podcast To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Update @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection