@extends('admin.layouts.main') @section('title') @if($edit) Edit Testimonial @else Add Testimonial @endif @endsection @section('content') @include("admin.common.sidebar") {{ @trans('testimonials.cms') }} {{ @trans('testimonials.testimonials') }} @if($edit) {{ @trans('testimonials.edit_testimionial') }} @else {{ @trans('testimonials.add_testimionial') }} @endif @csrf @if($edit) {{ @trans('testimonials.edit_testimionial') }} @else {{ @trans('testimonials.add_testimionial') }} @endif {{ @trans('testimonials.person_name') }} * @if($errors->has('person_name')) {{$errors->first('person_name')}} @endif {{ @trans('testimonials.person_position') }}* @if($errors->has('person_position')) {{$errors->first('person_position')}} @endif {{ @trans('testimonials.industry_name') }}* @if($errors->has('industry_name')) {{$errors->first('industry_name')}} @endif {{ @trans('testimonials.company_name') }} @if($errors->has('company_id')) {{$errors->first('company_id')}} @endif {{ @trans('testimonials.country_name') }}* {{ @trans('testimonials.message') }}* @if($edit){!! $testimonial->message !!}@endif @if($errors->has('message')) {{$errors->first('message')}} @endif {{ @trans('testimonials.cancel') }} @endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Testimonial\storeTestimonial', '#formTestimonial') !!} @endpush