Skip to content

Instantly share code, notes, and snippets.

@jjcodes78
Last active August 24, 2017 15:35
Show Gist options
  • Save jjcodes78/ae672716f5ab173372c16ca73f8058e6 to your computer and use it in GitHub Desktop.
Save jjcodes78/ae672716f5ab173372c16ca73f8058e6 to your computer and use it in GitHub Desktop.
Laravel Blade Form Input Snippet
<div class="form-group @if($errors->has('$nome$')) has-error @endif">
<label for="$nome$" class="input-control">$label$</label>
<input type="text" name="$nome$" class="form-control" $op$ />
<span class="help-block">{{ $errors->first('$nome$') }}</span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment