Browse Source

trying to fix dropdown menus, mkIII

master
jk 3 years ago
parent
commit
796da6f264
  1. 6
      resources/views/beers/create.blade.php

6
resources/views/beers/create.blade.php

@ -54,7 +54,11 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="brewery_id">Brewery</label> <label for="brewery_id">Brewery</label>
{{ Form::select('brewery_id', $brewery_list) }}
<select class="form-control" name="brewery_id">
@foreach ($breweries as $brewery)
<option value="{{$brewery->id}}">{{$brewery->name}}</option>
@endforeach
</select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="batch">Batch Size (L)</label> <label for="batch">Batch Size (L)</label>

Loading…
Cancel
Save