jk
3 years ago
5 changed files with 104 additions and 4 deletions
-
76app/Http/Controllers/SearchController.php
-
6app/Models/Search.php
-
1resources/views/beers/index.blade.php
-
19resources/views/search/index.blade.php
-
6routes/web.php
@ -0,0 +1,19 @@ |
|||
<form method="post" action="{{ route('search.results') }}"> |
|||
@csrf |
|||
<div class="form-group"> |
|||
<label for="search">Search</label> |
|||
<input type="text" class="form-control" name="search" > |
|||
</div> |
|||
<div class="form-group"> |
|||
<legend>Select table: </legend> |
|||
<input type="radio" id="summarie" value="summarie" class="form-control" name="table" checked> |
|||
<label for="summarie">Beers</label> |
|||
<input type="radio" id="brewerie" value="brewerie" class="form-control" name="table" > |
|||
<label for="">Breweries</label> |
|||
<input type="radio" id="hops" value="hops" class="form-control" name="table" > |
|||
<label for="">Hops</label> |
|||
<input type="radio" id="yeasts" value="yeast" class="form-control" name="table" > |
|||
<label for="">Yeasts</label> |
|||
</div> |
|||
<button type="submit" class="btn btn-primary">Add Mash Step</button> |
|||
</form> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue