Skip to content

Instantly share code, notes, and snippets.

@harrygr
Last active August 29, 2015 14:09
Show Gist options
  • Save harrygr/1f86034b66a6ec76a315 to your computer and use it in GitHub Desktop.
Save harrygr/1f86034b66a6ec76a315 to your computer and use it in GitHub Desktop.
Laravel Blade: Bootstrap date input
<div class="form-group {{ $errors->has(':name') ? 'has-error' : '' }}">
{{ Form::label(':name', ':label', ['class'=>'control-label']) }}
{{ Form::input('date', ':name', null, ['class'=>'form-control']) }}
{{ $errors->first(':name', '<span class="help-block">:message</span>') }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment