@extends('layouts.landing') @section('content')

@lang('landing.support.Header')

@lang('landing.support.Text')

@lang('landing.support.Green')

@if(session()->has('success'))
Ваше сообщение отправлено!
@endif {{ Form::open(['route' => 'landing.support-action']) }}
{{-- --}} {{ Form::text('name', null, ['required', 'minlength' => '2', 'maxlength' => '255', 'class' => $errors->has('name') ? 'error-input' : '']) }}
{{-- --}} {{Form::email('email', null, ['required', 'maxlength' => '255', 'class' => $errors->has('email') ? 'error-input' : ''])}}
{{-- --}} {{ Form::text('phone', null, ['maxlength' => '100', 'class' => $errors->has('phone') ? 'error-input' : '']) }}
{{Form::textarea('message', null, ['required', 'minlength' => '5', 'maxlength' => '10000', 'id' => 'subject', 'style' => 'height: 200px', 'class' => $errors->has('message') ? 'error-input' : ''])}}
{{ Form::text('captcha', null, ['required', 'minlength' => '1', 'maxlength' => '2', 'placeholder' => session('captcha_1_value') . ' + ' . session('captcha_2_value') . ' = ?' , 'class' => $errors->has('captcha') ? 'error-input' : '']) }}
{{ Form::close() }}
{{-- POST route('landing.support-action') (csrf token required) --}} @endsection @push('header_css') @livewireStyles @endpush @push('footer_js') @livewireScripts @endpush