Update blade views

This commit is contained in:
Daniel Supernault 2024-10-10 02:23:54 -06:00
parent 0c6e885b6f
commit 52cc609092
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1
2 changed files with 13 additions and 0 deletions

View file

@ -23,6 +23,13 @@
</div> </div>
</div> </div>
@endif @endif
@if (session('error'))
<div class="col-12" id="flash">
<div class="alert alert-danger">
{{ session('error') }}
</div>
</div>
@endif
<div class="col-12"> <div class="col-12">
<ul class="nav nav-pills my-3"> <ul class="nav nav-pills my-3">
<li class="nav-item"> <li class="nav-item">

View file

@ -110,6 +110,11 @@
@if($message->responded_at) @if($message->responded_at)
<p class="mb-0">{{$message->response}}</p> <p class="mb-0">{{$message->response}}</p>
@else @else
@if(config('mail.default') === 'log')
<div class="alert alert-danger">
<p class="mb-0">You need to configure your mail driver before you can send outgoing emails.</p>
</div>
@else
<form method="post" id="mform"> <form method="post" id="mform">
@csrf @csrf
<div class="form-group"> <div class="form-group">
@ -142,6 +147,7 @@
</div> </div>
</div> </div>
</form> </form>
@endif
@endif @endif
</div> </div>
</div> </div>