Created
September 18, 2016 19:13
-
-
Save 0xlemi/3fce395172d666b463147d4dc0725c0a 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
<div class="form-group{{ $errors->has('field') ? ' has-error': '' }}"> | |
<lable for="field">Field</label> | |
<input type="text" class="form-control" name="field" value="{{ old('field') ? old('field') : $object->field }}"> | |
@if ($errors->has('field')) | |
<div class="help-block"> | |
{{ $errors->first('field') }} | |
</div> | |
@endif | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment