|
|
@ -100,20 +100,19 @@ |
|
|
|
@php |
|
|
|
@php |
|
|
|
$code = Str::random(5); |
|
|
|
$code = Str::random(5); |
|
|
|
@endphp |
|
|
|
@endphp |
|
|
|
<div class="captcha-field"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<div> |
|
|
|
<label for="">Enter Captcha</label> |
|
|
|
<label>Enter Your Captcha</label> |
|
|
|
<div class="d-flex gap-3"> |
|
|
|
|
|
|
|
<div class="captcha-sec"> |
|
|
|
<input id="captcha" type="text" name = "entered_captcha_code" class="form-control" placeholder="Enter Captcha as Shown" required> |
|
|
|
<input id="captcha" type="text" name = "entered_captcha_code" class="form-control" placeholder="Enter Captcha as Shown" required> |
|
|
|
<input type = "hidden" id = "displayed_captcha_code" name = "displayed_captcha_code" value = "{{$code}}"/> |
|
|
|
<input type = "hidden" id = "displayed_captcha_code" name = "displayed_captcha_code" value = "{{$code}}"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div class="captch-field"> |
|
|
|
<label>Captcha</label> |
|
|
|
<!-- name = "captcha_code" value = "{{$code}}" --> |
|
|
|
<div class="captcha-ref"> |
|
|
|
<input type = "text" id="captcha_code" readonly name = "captcha_code" value = "{{$code}}"/> |
|
|
|
<input type = "text" id = "captcha_code" readonly class="form-control" name = "captcha_code" value = "{{$code}}"/> |
|
|
|
<a id = "refresh"><img src="{{url('frontend/icons/reset-icon.svg')}}" alt=""></a> |
|
|
|
<button id = "refresh"><i class="fas fa-sync-alt"></i></button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@if ($errors->has('captcha')) |
|
|
|
@if ($errors->has('captcha')) |
|
|
|
<span class="help-block"> |
|
|
|
<span class="help-block"> |
|
|
|