FEATURE: add error message to contact form

This commit is contained in:
Michal Kváček
2016-10-02 20:02:49 +02:00
parent 5cdca60cce
commit 5e79d0208a
2 changed files with 12 additions and 0 deletions
@@ -353,3 +353,8 @@ footer p {
background: rgba(58, 200, 51, 0.34);
color: darkgreen;
}
.notification.alert {
background: rgba(200, 79, 0, 0.38);
color: firebrick;
}
@@ -4,6 +4,13 @@
</div>
@endif
@if(session('error'))
<div class="notification alert">
Bohužel nebylo možné odeslat zprávu. Pošlete mi to prosím ručně na {{$page->module_settings->contactEmail}}.
Děkuji!
</div>
@endif
<section id="{{$page->url}}" class="container content-section text-center">
<div class="col-lg-8 col-lg-offset-2">
<h2>{{$page->title}}</h2>