@extends('site.partial.template') @section('section')
@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')) @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