[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 class="col-md-12">
@php
$code = Str::random(5);
@endphp
<div class="col-md-12">
<label for="">Enter Captcha</label>
<div class="contact-captcha">
<div class="captcha-sec">
<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}}"/>
@php
$code = Str::random(5);
@endphp
<div class="mb-3">
<label for="">Enter Captcha</label>
<div class="contact-captcha">
<div class="captcha-sec">
<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}}"/>
</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 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>
@if ($errors->has('captcha'))
<span class="help-block">
<strong>{{ $errors->first('captcha') }}</strong>
</span>
@endif
</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="mb-5">
<label for="">Message</label>

Loading…
Cancel
Save