Last active
March 28, 2018 06:43
-
-
Save yasaryousuf/2136c69ea8b2cb7a141fbae4ffc5872a to your computer and use it in GitHub Desktop.
[laravel-form]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="POST" action="/registation" id="reg-form"> | |
{{ csrf_field() }} | |
<div class="modal-form-padding"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="form-group {{ $errors->has('first_name') ? 'has-error' :'' }}"> | |
<input type="text" class="modal-input-control" placeholder="First Name" name="first_name" id="first_name" value="{{ old('first_name') }}" required> | |
@if ($errors->has('first_name')) | |
<span class="help-block text-danger"> | |
<strong>{{ $errors->first('first_name') }}</strong> | |
</span> | |
@endif | |
</div> | |
</div> | |
</div> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment