@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{ $pageTitle }} {{trans('admin/main.dashboard')}} {{ trans('admin/main.testimonials') }} {{ !empty($testimonial) ? trans('admin/main.edit') : trans('admin/main.create') }} {{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate'))) {{ trans('auth.language') }} @foreach($userLanguages as $lang => $language) get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }} @endforeach @error('locale') {{ $message }} @enderror @else @endif {{ trans('admin/main.user_avatar') }} @error('user_avatar') {{ $message }} @enderror {{ trans('admin/main.user_name') }} @error('user_name') {{ $message }} @enderror {{ trans('admin/main.user_bio') }} @error('user_bio') {{ $message }} @enderror {{ trans('admin/main.rate') }} @error('rate') {{ $message }} @enderror {{ trans('admin/main.comment') }} {!! !empty($testimonial) ? $testimonial->comment : old('comment') !!} @error('comment') {{ $message }} @enderror status == 'active') ? 'checked="checked"' : '' }} class="custom-switch-input"/> {{ trans('admin/main.active') }} {{ trans('admin/main.submit') }} @endsection @push('scripts_bottom') @endpush