Browse Source

trying to fix dropdown menus, mkVI

master
jk 3 years ago
parent
commit
fcc47d726e
  1. 12
      resources/views/adjunctadditions/create.blade.php
  2. 12
      resources/views/fermentations/create.blade.php
  3. 8
      resources/views/grainbills/create.blade.php
  4. 8
      resources/views/hopadditions/create.blade.php
  5. 4
      resources/views/mashes/create.blade.php

12
resources/views/adjunctadditions/create.blade.php

@ -18,17 +18,17 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="beer_id">Beer</label> <label for="beer_id">Beer</label>
<select>
<select class="form-control" name="beer_id">
@foreach ($beers as $beer) @foreach ($beers as $beer)
<option name="beer_id" value="{{$beer->beer_id}}">{{$beer->name}}</option>
<option value="{{$beer->beer_id}}">{{$beer->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="adjunct_id">Adjunct</label> <label for="adjunct_id">Adjunct</label>
<select>
<select class="form-control" name="adjunct_id">
@foreach ($adjuncts as $adjunct) @foreach ($adjuncts as $adjunct)
<option name="adjunct_id" value="{{$adjunct->id}}">{{$adjunct->name}}</option>
<option value="{{$adjunct->id}}">{{$adjunct->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>
@ -42,9 +42,9 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="alternative">Alternative</label> <label for="alternative">Alternative</label>
<select>
<select class="form-control" name="alternative">
@foreach ($adjuncts as $adjunct) @foreach ($adjuncts as $adjunct)
<option name="alternative" value="{{$adjunct->id}}">{{$adjunct->name}}</option>
<option value="{{$adjunct->id}}">{{$adjunct->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>

12
resources/views/fermentations/create.blade.php

@ -18,17 +18,17 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="beer_id">Beer</label> <label for="beer_id">Beer</label>
<select>
<select class="form-control" name="beer_id">
@foreach ($beers as $beer) @foreach ($beers as $beer)
<option name="beer_id" value="{{$beer->beer_id}}">{{$beer->name}}</option>
<option value="{{$beer->beer_id}}">{{$beer->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="yeast_id">Yeast</label> <label for="yeast_id">Yeast</label>
<select>
<select class="form-control" name="yeast_id">
@foreach ($yeasts as $yeast) @foreach ($yeasts as $yeast)
<option name="yeast_id" value="{{$yeast->id}}">{{$yeast->name}}</option>
<option value="{{$yeast->id}}">{{$yeast->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>
@ -42,9 +42,9 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="alternative">Alternative</label> <label for="alternative">Alternative</label>
<select>
<select class="form-control" name="alternative">
@foreach ($yeasts as $yeast) @foreach ($yeasts as $yeast)
<option name="alternative" value="{{$yeast->id}}">{{$yeast->name}}</option>
<option value="{{$yeast->id}}">{{$yeast->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>

8
resources/views/grainbills/create.blade.php

@ -18,17 +18,17 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="beer_id">Beer</label> <label for="beer_id">Beer</label>
<select>
<select class="form-control" name="beer_id">
@foreach ($beers as $beer) @foreach ($beers as $beer)
<option name="beer_id" value="{{$beer->beer_id}}">{{$beer->name}}</option>
<option value="{{$beer->beer_id}}">{{$beer->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="grain_id">Grain</label> <label for="grain_id">Grain</label>
<select>
<select class="form-control" name="grain_id">
@foreach ($grains as $grain) @foreach ($grains as $grain)
<option name="grain_id" value="{{$grain->id}}">{{$grain->name}}</option>
<option value="{{$grain->id}}">{{$grain->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>

8
resources/views/hopadditions/create.blade.php

@ -18,17 +18,17 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="beer_id">Beer</label> <label for="beer_id">Beer</label>
<select>
<select class="form-control" name="beer_id">
@foreach ($beers as $beer) @foreach ($beers as $beer)
<option name="beer_id" value="{{$beer->beer_id}}">{{$beer->name}}</option>
<option value="{{$beer->beer_id}}">{{$beer->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="hop_id">Hop</label> <label for="hop_id">Hop</label>
<select>
<select class="form-control" name="hop_id">
@foreach ($hops as $hop) @foreach ($hops as $hop)
<option name="hop_id" value="{{$hop->id}}">{{$hop->name}}</option>
<option value="{{$hop->id}}">{{$hop->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>

4
resources/views/mashes/create.blade.php

@ -18,9 +18,9 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="beer_id">Beer</label> <label for="beer_id">Beer</label>
<select>
<select class="form-control" name="beer_id">
@foreach ($beers as $beer) @foreach ($beers as $beer)
<option name="beer_id" value="{{$beer->beer_id}}">{{$beer->name}}</option>
<option value="{{$beer->beer_id}}">{{$beer->name}}</option>
@endforeach @endforeach
</select> </select>
</div> </div>

Loading…
Cancel
Save