Commit 0c2f536f authored by Shahzod's avatar Shahzod

CaptchaPer

parent 0cb8f321
...@@ -762,8 +762,7 @@ ...@@ -762,8 +762,7 @@
<!--p.fw-l.h5.text-transform-none Enter your email address to receive all company news, special offers and other discount information.--> <!--p.fw-l.h5.text-transform-none Enter your email address to receive all company news, special offers and other discount information.-->
<!-- RD Mailform--> <!-- RD Mailform-->
<form class="rd-mailform text-left" data-form-output="form-output-global" data-form-type="forms" <form method="post" action="{{ route('send.mail') }}">
method="post" action="{{ route('send.mail') }}">
@csrf @csrf
<div class="row row-10"> <div class="row row-10">
<div class="col-xs-12 col-sm-6"> <div class="col-xs-12 col-sm-6">
...@@ -802,18 +801,27 @@ ...@@ -802,18 +801,27 @@
</div> </div>
</div> </div>
<div class="col-xs-6 text-left" > <div class="col-xs-3 text-right" >
<div class="captcha"> <div class="captcha">
<span style="float: right;" >{!! captcha_img() !!} </span> <span style="float: left;" >{!! captcha_img() !!} </span>
</div> </div>
</div> </div>
<div class="col-xs-6 text-right"> <div class="col-xs-9 text-left" >
<input id="captcha" type="text" class="form-input{{ $errors->has('captcha') ? ' has-error' : '' }}" name="captcha" placeholder="Введите код с картинки" required>
@if ($errors->has('captcha'))
<span class="invalid-feedback">
<strong>{{ $errors->first('captcha') }}</strong>
</span>
@endif
</div>
<div class="col-xs-12 text-right">
<button class="btn btn-primary btn-sm" type="submit">Отправить</button> <button class="btn btn-primary btn-sm" type="submit">Отправить</button>
</div> </div>
</div> </div>
<div class="form-wrap" > {{--<div class="form-wrap" >
<input id="captcha" type="text" class="form-input{{ $errors->has('captcha') ? ' has-error' : '' }}" name="captcha" placeholder="Введите код с картинки" required> <input id="captcha" type="text" class="form-input{{ $errors->has('captcha') ? ' has-error' : '' }}" name="captcha" placeholder="Введите код с картинки" required>
@if ($errors->has('captcha')) @if ($errors->has('captcha'))
...@@ -821,7 +829,7 @@ ...@@ -821,7 +829,7 @@
<strong>{{ $errors->first('captcha') }}</strong> <strong>{{ $errors->first('captcha') }}</strong>
</span> </span>
@endif @endif
</div> </div>--}}
</form> </form>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment