12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- @extends('seller.layouts.app')
- @section('panel_content')
- <div class="aiz-titlebar mt-2 mb-4">
- <div class="row align-items-center">
- <div class="col-md-6">
- <h1 class="h3">{{ translate('Update comment') }}</h1>
- </div>
- </div>
- </div>
- <form class="" action="{{route('seller.update', $reviews->id)}}" method="POST" enctype="multipart/form-data"
- id="choice_form">
- <div class="row gutters-5">
- <div class="col-12">
- <input name="_method" type="hidden" value="POST">
- <input type="hidden" name="lang" value="{{ $lang }}">
- <input type="hidden" name="id" value="{{ $reviews->id }}">
- @csrf
- <div class="card">
- <div class="card-body">
- <div class="form-group mb-3">
- <label for="name">
- {{translate('Rating')}}
- </label>
- <div class="rating rating-input">
- <label>
- <input type="radio" name="rating" value="1" @if ($reviews->rating == 1) checked @endif required>
- <i class="las la-star"></i>
- </label>
- <label>
- <input type="radio" name="rating" value="2" @if ($reviews->rating == 2) checked @endif>
- <i class="las la-star"></i>
- </label>
- <label>
- <input type="radio" name="rating" value="3" @if ($reviews->rating == 3) checked @endif>
- <i class="las la-star"></i>
- </label>
- <label>
- <input type="radio" name="rating" value="4" @if ($reviews->rating == 4) checked @endif>
- <i class="las la-star"></i>
- </label>
- <label>
- <input type="radio" name="rating" value="5" @if ($reviews->rating == 5) checked @endif>
- <i class="las la-star"></i>
- </label>
- </div>
- </div>
- </div>
- </div>
- <div class="card">
- <div class="card-body">
- <div class="form-group mb-3">
- <label for="name">
- {{translate('comment')}}
- </label>
- <input type="text" name="comment" value="{{ $reviews->comment }}" class="form-control">
- </div>
- </div>
- </div>
- </div>
- <div class="col-12">
- <div class="mar-all text-right mb-2">
- <button type="submit" name="button" value="publish"
- class="btn btn-primary">{{ translate('Update comment') }}</button>
- </div>
- </div>
- </div>
- </form>
- @endsection
- @section('script')
- <script type="text/javascript">
-
-
- </script>
- @endsection
|