@extends('site.partial.template') @section('section')

{{__('site.contact-us')}}


@auth

@if(config('instance.email') && config('instance.contact.enabled')) You can contact the admins by sending an email to {{config('instance.email')}} or by using the form below. @elseif(config('instance.email') && !config('instance.contact.enabled')) You can contact the admins by sending an email to {{config('instance.email')}}. @elseif(!config('instance.email') && config('instance.contact.enabled')) You can contact the admins by using the form below. @else The admins have not set a contact email address. @endif

@if(config('instance.contact.enabled'))
@csrf
0/500
@endif @else

@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true) You can contact the admins by sending an email to {{config('instance.email')}}. @elseif (config('instance.contact.enabled')) The admins have not set a contact email address. Please log in to send a message. @endif

@endauth
@endsection @auth @push('styles') @endpush @push('scripts') @endpush @endauth