FEATURE: add success message after sending e-mail from contact form

This commit is contained in:
Michal Kváček
2017-03-13 21:55:56 +01:00
parent fcd7651841
commit 9cb4deecd4
2 changed files with 8 additions and 0 deletions
@@ -176,6 +176,10 @@ header.top-bar h1 a {
margin-top: 4%;
}
.green {
color: #00A000;
}
#footer {
margin-bottom: 50px;
width: 98%;
@@ -1,3 +1,7 @@
@if(session('success'))
<div class="green text-center">E-mail war gesendet.</div>
@endif
<form action="{{route('email.send', ['formId' => $page->id])}}" method="post">
{!! csrf_field() !!}
<div class="column required medium-4">