[edit] margin for captcha fixed

aplus#13
tribikram 2 years ago committed by Mahesh Sharma
parent 6755783f66
commit a9e4ec15ca
  1. 42
      resources/views/contact.blade.php

@ -97,29 +97,29 @@
</div> </div>
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
@php @php
$code = Str::random(5); $code = Str::random(5);
@endphp @endphp
<div class="col-md-12"> <div class="mb-3">
<label for="">Enter Captcha</label> <label for="">Enter Captcha</label>
<div class="contact-captcha"> <div class="contact-captcha">
<div class="captcha-sec"> <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 class="captch-field">
<!-- name = "captcha_code" value = "{{$code}}" -->
<input type = "text" id="captcha_code" readonly name = "captcha_code" value = "{{$code}}"/>
<a id = "refresh"><img src="{{url('frontend/icons/reset-icon.svg')}}" alt=""></a>
</div>
</div>
</div> </div>
<div class="captch-field"> @if ($errors->has('captcha'))
<!-- name = "captcha_code" value = "{{$code}}" --> <span class="help-block">
<input type = "text" id="captcha_code" readonly name = "captcha_code" value = "{{$code}}"/> <strong>{{ $errors->first('captcha') }}</strong>
<a id = "refresh"><img src="{{url('frontend/icons/reset-icon.svg')}}" alt=""></a> </span>
@endif
</div> </div>
</div>
</div>
@if ($errors->has('captcha'))
<span class="help-block">
<strong>{{ $errors->first('captcha') }}</strong>
</span>
@endif
</div>
<div class="col-md-12"> <div class="col-md-12">
<div class="mb-5"> <div class="mb-5">
<label for="">Message</label> <label for="">Message</label>

Loading…
Cancel
Save