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.

28 lines
733 B

  1. @extends('adjuncts')
  2. @section('main')
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <h1 class="display-3">Add an Adjunct</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('adjuncts.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. <button type="submit" class="btn btn-primary">Add Adjunct</button>
  23. </form>
  24. </div>
  25. </div>
  26. </div>
  27. @endsection