@extends('layouts.admin.master') @section('title', !empty($testimonials) ? 'Edit Testimonial' : 'Add Testimonial') @section('content') @include('layouts.admin.flash.alert') Manage Testimonial Here you can {{ !empty($testimonials) ? 'edit' : 'add' }} Testimonial Home {{ __("Testimonial") }} {{ !empty($testimonials) ? 'Edit Testimonial ' : 'Add Testimonial' }} {{ !empty($testimonials) ? 'Edit Testimonial' : 'Add Testimonial' }} Back @if(isset($testimonials)) {{ Form::model($testimonials, ['route' => ['data.testimonial.update', $testimonials->id], 'method' => 'patch', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['route' => 'data.testimonial.store', 'enctype' => 'multipart/form-data']) }} @endif Author {{ Form::text('author', old('author'), ['class' => 'form-control','placeholder' => 'Enter author name']) }} @if($errors->has('author')) {{ $errors->first('author') }} @endif Designation {{ Form::text('designation', old('designation'), ['class' => 'form-control','placeholder' => 'Enter designation name']) }} Author Feedback {{ Form::textarea('description', old('description'), ['class' => 'form-control ckeditor','placeholder' => 'Provide Answer', 'rows' => 5]) }} @if($errors->has('description')) {{ $errors->first('description') }} @endif Status Select status @if(isset($testimonials)) Active InActive @else Active InActive @endif @if($errors->has('status')) {{ $errors->first('status') }} @endif @if(isset($testimonials)) @if(empty($testimonials->image)) @else @endif @endif Upload Image @if($errors->has('image')) {{ $errors->first('image') }} @endif {{ Form::close() }} @stop