Browse Source

Update contact view

Daniel Supernault 6 năm trước cách đây
mục cha
commit
21e27fc754
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      resources/views/site/contact.blade.php

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

@@ -8,6 +8,13 @@
   <hr>
   <section>
     @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">
       @csrf
   		<div class="form-group">