@extends('layouts.admin') @section('content')
{{--

{{ __("Add Setting")}}

{!! Form::open(['method' => 'POST', 'route' => 'admin.setting.store']) !!}
{!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => 'Enter Setting Title','required']) !!} {{ $errors->first('name') }}
{!! Form::text('val', null, ['class' => 'form-control', 'placeholder' => 'Enter Setting Value']) !!} {{ $errors->first('val') }}
{!! Form::close()!!}
--}}
{{ trans('cruds.setting.title') }}
@csrf
@if($errors->has('company_name'))
{{ $errors->first('company_name') }}
@endif {{ trans('cruds.setting.companyName_helper') }}
@if($errors->has('website_title'))
{{ $errors->first('website_title') }}
@endif {{ trans('cruds.setting.websiteTitle_helper') }}
@if($errors->has('companyEmail'))
{{ $errors->first('companyEmail') }}
@endif {{ trans('cruds.setting.companyEmail_helper') }}
@if($errors->has('website_url'))
{{ $errors->first('website_url') }}
@endif {{ trans('cruds.setting.websiteUrl_helper') }}
@if($errors->has('company_phone'))
{{ $errors->first('company_phone') }}
@endif {{ trans('cruds.setting.companyPhone_helper') }}
@if($errors->has('company_address'))
{{ $errors->first('company_address') }}
@endif {{ trans('cruds.setting.companyAddress_helper') }}
@if($errors->has('contact_time'))
{{ $errors->first('contact_time') }}
@endif {{ trans('cruds.setting.contactTime_helper') }}
@if($errors->has('currency_icon'))
{{ $errors->first('currency_icon') }}
@endif {{ trans('cruds.setting.currencyIcon_helper') }}
@if($errors->has('currency_code'))
{{ $errors->first('currency_code') }}
@endif {{ trans('cruds.setting.currencyCode_helper') }}
{{-- --}} {{ $errors->first('logo') }}
@if(isset($settings['logo']) && $settings['logo'] != null) @else Website Logo @endif
{{-- --}} {{ $errors->first('admin_logo') }}
@if(isset($settings['admin_logo']) && $settings['admin_logo'] != null) @else Admin Logo @endif
{{-- --}} {{ $errors->first('small_logo') }}
@if(isset($settings['small_logo']) && $settings['small_logo'] != null) @else Small Logo @endif
{{-- --}} {{ $errors->first('favicon') }}
@if(isset($settings['favicon']) && $settings['favicon'] != null) @else Favicon @endif
{{-- --}} {{ $errors->first('preloader') }}
@if(isset($settings['preloader']) && $settings['preloader'] != null) @else Preloader @endif
{{ $errors->first('is_preloader') }}
{{ $errors->first('inspect') }}
{{ $errors->first('is_rightClick') }}
@endsection