瀏覽代碼

Update contact view

Daniel Supernault 6 年之前
父節點
當前提交
21e27fc754
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      resources/views/site/contact.blade.php

+ 7 - 0
resources/views/site/contact.blade.php

@@ -8,6 +8,13 @@
   <hr>
   <hr>
   <section>
   <section>
     @auth
     @auth
+    <p class="lead">
+      @if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
+        You can contact the admins by sending an email to {{config('instance.email')}} or using the form below.
+      @else
+       You can contact the admins by using the form below.
+      @endif
+    </p>
   	<form method="POST">
   	<form method="POST">
       @csrf
       @csrf
   		<div class="form-group">
   		<div class="form-group">