Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created May 19, 2018 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uno-de-piera/54dc598c26ed97833f997670ed28ec44 to your computer and use it in GitHub Desktop.
Save uno-de-piera/54dc598c26ed97833f997670ed28ec44 to your computer and use it in GitHub Desktop.
<div class="form-group row">
<label for="name" class="col-sm-4 col-form-label text-md-right">{{ __('Usuario') }}</label>
<div class="col-md-6">
<input id="name" type="text" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}" name="name" value="{{ old('name') }}" required autofocus>
@if ($errors->has('name'))
<span class="invalid-feedback">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment