Last active
April 25, 2016 21:45
-
-
Save harrygr/a0c0c9b5de65952fc851 to your computer and use it in GitHub Desktop.
Laravel Blade: Bootstrap form select
This file contains hidden or 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(':name') ? 'has-error' : '' }}"> | |
{{ Form::label(':name', ':label', ['class'=>'control-label']) }} | |
{{ Form::select(':name', $options, $default, ['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