@extends('../../master_layout/admin_master') @section('title') {{config('constants.APP_NAME')}} {{ ($edit)?'Edit':'Add' }} Brand Videos @endsection @section('content')

{{ ($edit)?'Edit':'Add' }} Brand Videos

@if(session('message'))
@if(session('message.type')=='danger')

Sorry! {!! session('message.text') !!}

@else

Success! {!! session('message.text') !!}

@endif
@endif
@csrf
@if(isset($videos) && !empty($videos)) @foreach($videos as $video) @endforeach @endif
Title Thumbnail Video Url
@if ($errors->has('title')) {{ $errors->first('title') }} @endif @if ($errors->has('cover_image')) {{ $errors->first('cover_image') }} @endif @if ($errors->has('video_url')) {{ $errors->first('video_url') }} @endif
@endsection @section('custom_js') @if ($errors->has('edit_image_name')) @endif @endsection