FEATURE #2351 @45m: minor UI tweaks, add error templates

This commit is contained in:
Michal Kváček
2017-03-10 13:42:55 +01:00
parent 0e2aecb529
commit 87af6a018c
9 changed files with 65 additions and 165 deletions
@@ -3,6 +3,7 @@ namespace Modules\ContactForm\Pipeline\SavePipeline;
use App\CMS\Contracts\Content\SavePipeline\Process;
use App\Models\Content\Content;
use Modules\ContactForm\Handlers\ContactForm;
class SaveContactInformation implements Process
{
@@ -16,6 +17,8 @@ class SaveContactInformation implements Process
*/
function handle(Content & $page, array & $input)
{
if ($page->moduleHandler != ContactForm::class)
return;
$settings = [
'phone' => $input['phone'],