FEATURE: add error message and meta information into contact form template
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@extendVisitor('layout')
|
||||
|
||||
@section('pageTitle', $page->title);
|
||||
@include(\App\Helpers\Template::name('metaInformation'))
|
||||
|
||||
@section('content')
|
||||
<h1 class="text-center uppercase m-b-25">{{$page->title}}</h1>
|
||||
@@ -16,6 +16,12 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if(session('error'))
|
||||
<div class="callout alert">
|
||||
Zprávu bohužel nebylo možné odeslat, zkuste nám napsat na {{$page->module_settings->contactEmail}}.
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form action="{{route('email.send', ['id' => $page->id])}}" method="post">
|
||||
{!! csrf_field() !!}
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user