Browse Source

beers refactor mkIV

master
jk 3 years ago
parent
commit
006655efc4
  1. 22
      resources/views/beers/edit.blade.php

22
resources/views/beers/edit.blade.php

@ -18,47 +18,47 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="name">Name</label> <label for="name">Name</label>
<input type="text" class="form-control" name="name" value={{ $beer->name }} />>
<input type="text" class="form-control" name="name" value={{ $beer->name }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="keywords">Keywords</label> <label for="keywords">Keywords</label>
<textarea type="text" class="form-control" name="keywords" value={{ $beer->keywords }} /> ></textarea>
<textarea type="text" class="form-control" name="keywords" value={{ $beer->keywords }} /></textarea>
</div> </div>
<div class="Type"> <div class="Type">
<label for="type">Style</label> <label for="type">Style</label>
<input type="text" class="form-control" name="type" value={{ $beer->type }} />>
<input type="text" class="form-control" name="type" value={{ $beer->type }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="abv">ABV %</label> <label for="abv">ABV %</label>
<input type="text" class="form-control" name="abv" value={{ $beer->abv }} />>
<input type="text" class="form-control" name="abv" value={{ $beer->abv }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="og">Original Gravity (OG)</label> <label for="og">Original Gravity (OG)</label>
<input type="text" class="form-control" name="og" value={{ $beer->og }} />>
<input type="text" class="form-control" name="og" value={{ $beer->og }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="fg">Final Gravity (FG)</label> <label for="fg">Final Gravity (FG)</label>
<input type="text" class="form-control" name="fg" value={{ $beer->fg }} />>
<input type="text" class="form-control" name="fg" value={{ $beer->fg }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="source">Source</label> <label for="source">Source</label>
<input type="text" class="form-control" name="source" value={{ $beer->source }} />>
<input type="text" class="form-control" name="source" value={{ $beer->source }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="notes">Notes</label> <label for="notes">Notes</label>
<textarea type="text" class="form-control" name="notes" value={{ $beer->notes }} />></textarea>
<textarea type="text" class="form-control" name="notes" value={{ $beer->notes }} /></textarea>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="brewery_id">Brewery ID</label> <label for="brewery_id">Brewery ID</label>
<input type="text" class="form-control" name="brewery_id" value={{ $beer->brewery_id }} />>
<input type="text" class="form-control" name="brewery_id" value={{ $beer->brewery_id }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="batch">Batch Size (L)</label> <label for="batch">Batch Size (L)</label>
<input type="text" class="form-control" name="batch" value={{ $beer->batch }} />>
<input type="text" class="form-control" name="batch" value={{ $beer->batch }} />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="mine">Mine?</label> <label for="mine">Mine?</label>
<input type="checkbox" class="form-control" name="mine" value={{ $beer->mine }} />>
<input type="checkbox" class="form-control" name="mine" value={{ $beer->mine }} />
</div> </div>
<button type="submit" class="btn btn-primary">Update</button> <button type="submit" class="btn btn-primary">Update</button>
</form> </form>

Loading…
Cancel
Save