My beer compendium
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.6 KiB

  1. @extends('hops')
  2. @section('main')
  3. <div class="row">
  4. <div class="col-sm-8 offset-sm-2">
  5. <h1 class="display-3">Add a Hop</h1>
  6. <div>
  7. @if ($errors->any())
  8. <div class="alert alert-danger">
  9. <ul>
  10. @foreach ($errors->all() as $error)
  11. <li>{{ $error }}</li>
  12. @endforeach
  13. </ul>
  14. </div><br />
  15. @endif
  16. <form method="post" action="{{ route('hops.store') }}">
  17. @csrf
  18. <div class="form-group">
  19. <label for="">Name</label>
  20. <input type="text" class="form-control" name="name">
  21. </div>
  22. <div class="form-group">
  23. <label for="">Bittering?</label>
  24. <input type="checkbox" class="form-control" name="bitter">
  25. </div>
  26. <div class="form-group">
  27. <label for="">Aroma?</label>
  28. <input type="checkbox" class="form-control" name="aroma">
  29. </div>
  30. <div class="form-group">
  31. <label for="">Profile</label>
  32. <textarea type="text" class="form-control" name="profile" ></textarea>
  33. </div>
  34. <div class="form-group">
  35. <label for="">Alpha-Acid %</label>
  36. <input type="text" class="form-control" name="alpha_acid">
  37. </div>
  38. <div class="form-group">
  39. <label for="">Beta-Acid %</label>
  40. <input type="text" class="form-control" name="beta_acid">
  41. </div>
  42. <div class="form-group">
  43. <label for="">Total Oil %</label>
  44. <input type="text" class="form-control" name="total_oil">
  45. </div>
  46. <div class="form-group">
  47. <label for="">Cohumulone %</label>
  48. <input type="text" class="form-control" name="cohumulone">
  49. </div>
  50. <div class="form-group">
  51. <label for="">Myrcene %</label>
  52. <input type="text" class="form-control" name="myrcene">
  53. </div>
  54. <div class="form-group">
  55. <label for="">Humulene %</label>
  56. <input type="text" class="form-control" name="humulene">
  57. </div>
  58. <div class="form-group">
  59. <label for="">Farnesene %</label>
  60. <input type="text" class="form-control" name="farnesene">
  61. </div>
  62. <div class="form-group">
  63. <label for="">Caryophyllene</label>
  64. <input type="text" class="form-control" name="caryophyllene">
  65. </div>
  66. <button type="submit" class="btn btn-primary">Add Hop</button>
  67. </form>
  68. </div>
  69. </div>
  70. </div>
  71. @endsection