@extends('admin.layouts.main') @section('title') @if($edit) Edit Testimonial @else Add Testimonial @endif @endsection @section('content')
@include("admin.common.sidebar")
@csrf @if($edit)

{{ @trans('testimonials.edit_testimionial') }}

@else

{{ @trans('testimonials.add_testimionial') }}

@endif
@if($errors->has('person_name')) {{$errors->first('person_name')}} @endif
@if($errors->has('person_position')) {{$errors->first('person_position')}} @endif
@if($errors->has('industry_name')) {{$errors->first('industry_name')}} @endif
@if($errors->has('company_id')) {{$errors->first('company_id')}} @endif
@if($errors->has('message')) {{$errors->first('message')}} @endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Testimonial\storeTestimonial', '#formTestimonial') !!} @endpush