Created
July 7, 2016 04:01
-
-
Save vaporic/7d284abc8d7202b087eab5d7bd49b2c8 to your computer and use it in GitHub Desktop.
Default option in select Laravel
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
{!! Form::select('mark', ["" => "Selecciona una marca"] + App\Models\Marcas::lists('mark', 'id')->all(), (isset($cars)) ? $cars->marca->id : null, ['class' => 'form-control car_mark']) !!} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment