@extends('frontend.layouts.app') @section('title', app_name() . ' | '.__('labels.frontend.contact.box_title')) @section('content')
{{ __('labels.frontend.contact.box_title') }}
{{ html()->form('POST', route('frontend.contact.send'))->open() }}
{{ html()->label(__('validation.attributes.frontend.name'))->for('name') }} {{ html()->text('name') ->class('form-control') ->placeholder(__('validation.attributes.frontend.name')) ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->label(__('validation.attributes.frontend.email'))->for('email') }} {{ html()->email('email') ->class('form-control') ->placeholder(__('validation.attributes.frontend.email')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.phone'))->for('phone') }} {{ html()->text('phone') ->class('form-control') ->placeholder(__('validation.attributes.frontend.phone')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.message'))->for('message') }} {{ html()->textarea('message') ->class('form-control') ->placeholder(__('validation.attributes.frontend.message')) ->attribute('rows', 3) }}
{{ form_submit(__('labels.frontend.contact.button')) }}
{{ html()->form()->close() }}
@endsection