@if(Setting::get('google_analytics') != NULL)
{!! Setting::get('google_analytics') !!}
@endif
{{ Form::open(['route' => ['ageCheck.post'], 'class'=>'','method'=>'post']) }}
{{ trans('age_check.title') }}
{{ trans('age_check.content') }}
{{ Form::text('day', null, ['class' => 'form-control', 'placeholder' => trans('age_check.day')]) }}
{{ Form::text('month', null, ['class' => 'form-control', 'placeholder' => trans('age_check.month')]) }}
{{ Form::text('year', null, ['class' => 'form-control', 'placeholder' => trans('age_check.year')]) }}
@if ($errors->has('submit'))
{{ $errors->first('submit') }}
@endif
{{ Form::checkbox('isCookieAccepted', 1, null, ['id' => 'isCookieAccepted', 'class' => 'form-check-input']) }}
{{ Form::label('isCookieAccepted', trans('age_check.cookie', ['class' => ''])) }}
@if ($errors->has('isCookieAccepted'))
{{ $errors->first('isCookieAccepted') }}
@endif
{{ Form::submit(trans('age_check.confirm'), ['name' => 'submit', 'class' => 'btn btn-success']) }}
{{ Form::close() }}