@ -89,7 +89,7 @@ class SummarieController extends Controller
]);
$beer = Summarie::where('beer_id', $id)->first();
$beer->beer_id=$id;
$beer->beer_id=$request->input('beer_id');
$beer->name = $request->input('name');
$beer->type = $request->input('type');
$beer->abv = $request->input('abv');
@ -18,6 +18,7 @@
@csrf
<div class="form-group">
<label for="name">Name</label>
<input type="hidden" class="form-control" name="name" value="{{ $beer->beer_id }}" />
<input type="text" class="form-control" name="name" value="{{ $beer->name }}" />
</div>