@extends('admin.layout') @section('content') Add Product Dashboard Product Product List Edit Product @csrf Product Name @if ($errors->has('pname')) {{ $errors->first('pname') }} @endif Type Select Type type=='course')?"selected":""}}>Course type=='testseries')?"selected":""}}>Testseries type=='book')?"selected":""}}>Book @if ($errors->has('type')) {{ $errors->first('type') }} @endif Short Description {{$product->short_desc}} @if ($errors->has('short_desc')) {{ $errors->first('short_desc') }} @endif Description {{$product->description}} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Youtube Url @if ($errors->has('videoUrl')) {{ $errors->first('videoUrl') }} @endif Features @if ($errors->has('features')) {{ $errors->first('features') }} @endif Sort Order @if ($errors->has('sort_order')) {{ $errors->first('sort_order') }} @endif Slug @if ($errors->has('slug')) {{ $errors->first('slug') }} @endif Image Choose file image)}}" style="width: 50px;height:50px;"> @if ($errors->has('image')) {{ $errors->first('image') }} @endif Status status == '1')?"selected":""}}>Active status == '0')?"selected":""}}>Inactive @if ($errors->has('status')) {{ $errors->first('status') }} @endif Submit @endsection @push('footer-script') @endpush