|
@@ -27,64 +27,7 @@
|
|
|
@endcomponent
|
|
|
<form method="POST" action="{{ route('saveProductStepThree') }}" enctype="multipart/form-data" >
|
|
|
@csrf
|
|
|
- <input type="hidden" value="{{$product->id}}" name="product_id">
|
|
|
- <div class="form-group">
|
|
|
- <label for="title">{{ __('product.title') }}</label><i class="required"> *</i>
|
|
|
- <input id="title" type="text"class="form-control @error('title') is-invalid @enderror"name="title" value="{{$product->title}}" autocomplete="title" autofocus>
|
|
|
- @error('title')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- <div class="form-row ">
|
|
|
- <div class="form-group col-lg-6">
|
|
|
- <label for="slug"> {{ __('product.slug') }}</label>
|
|
|
- <input id="slug" type="text" class="form-control @error('slug') is-invalid @enderror" name="slug" value="{{$product->slug}}" autocomplete="slug" autofocus>
|
|
|
- @error('slug')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- <div class="form-group col-lg-6">
|
|
|
- <label for="ReleaseStatus">{{ __('product.ReleaseStatus') }}</label><i
|
|
|
- class="required"> *</i>
|
|
|
- <select id="ReleaseStatus" type="text"
|
|
|
- class="form-control @error('ReleaseStatus') is-invalid @enderror"
|
|
|
- name="ReleaseStatus" autocomplete="ReleaseStatus">
|
|
|
- <option value="draft"
|
|
|
- @if($product->ReleaseStatus==='پیشنویس') selected='selected' @endif>
|
|
|
- پیشنویس
|
|
|
- </option>
|
|
|
- <option value="pending"
|
|
|
- @if($product->ReleaseStatus==='در انتظار انتشار') selected='selected' @endif>
|
|
|
- در انتظار انتشار
|
|
|
- </option>
|
|
|
- <option value="published"
|
|
|
- @if($product->ReleaseStatus==='منتشر شده') selected='selected' @endif>
|
|
|
- منتشر شده
|
|
|
- </option>
|
|
|
- </select>
|
|
|
- @error('ReleaseStatus')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="form-group">
|
|
|
- <label for="discription">{{ __('product.discription') }}</label><i class="required"> *</i>
|
|
|
- <textarea id="discription" type="text" class="form-control editor @error('discription') is-invalid @enderror" name="discription" autocomplete="discription">
|
|
|
- {{$product->discription}}
|
|
|
- </textarea>
|
|
|
- @error('discription')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
+ @include('product::product.include.firstProduct')
|
|
|
@include('product::product.include.simpleProduct')
|
|
|
<div class="form-group mb-0">
|
|
|
<div class="">
|