Last active
June 2, 2016 21:58
-
-
Save Sarav-S/2b15b707bbd9ebe0817215efee025ac2 to your computer and use it in GitHub Desktop.
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
@if (isset($errors) && (count($errors) > 0)) | |
<div class="alert alert-danger"> | |
<ul> | |
@foreach ($errors->all() as $error) | |
<li>{{ $error }}</li> | |
@endforeach | |
</ul> | |
</div> | |
@endif | |
<div class="form-group"> | |
{{ Form::label('name', 'Name') }} <em>*</em> | |
{{ Form::text('name', null, ['class' => 'form-control', 'id' => 'name', 'required' => 'required']) }} | |
</div> | |
<div class="form-group"> | |
{{ Form::label('email', 'Email') }} <em>*</em> | |
{{ Form::email('email', null, ['class' => 'form-control', 'id' => 'email']) }} | |
</div> | |
<div class="form-group"> | |
{{ Form::label('password', 'Password') }} <em>*</em> | |
{{ Form::password('password', ['class' => 'form-control', 'id' => 'password']) }} | |
</div> | |
<div class="form-group"> | |
{{ Form::submit('Submit', ['class' => 'btn btn-success']) }} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment