Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. @extends('base') {{-- mengambil file base.blade.php --}}
  2. @section('content') {{-- Mengisi di bagian content --}}
  3. <!-- Main Section -->
  4. <div class="container">
  5. <div class="row">
  6. <!-- Content -->
  7. <div class="col-md-12 mt-5 mt-3">
  8. <h3>Form menambah Buku</h3>
  9. <form action="" method="post">
  10. <div class="form-group">
  11. <label for="name">Nama Buku</label>
  12. <input class="form-control" type="text" name="name" id="name">
  13. </div>
  14. <div class="form-group">
  15. <label for="type">Tipe Buku</label>
  16. <select class="form-control" name="type" id="type">
  17. <option value="comic">Comic</option>
  18. <option value="novel">Novel</option>
  19. <option value="motivation">Motivation</option>
  20. <option value="science">Science</option>
  21. </select>
  22. </div>
  23. <div class="form-group">
  24. <label for="stock">Stock</label>
  25. <input class="form-control" type="number" name="stock" id="stock">
  26. </div>
  27. <div class="form-group">
  28. <label for="penulis">Penulis</label>
  29. <input class="form-control" type="text" name="penulis" id="penulis">
  30. </div>
  31. <div class="form-group">
  32. <label for="penerbit">Penerbit</label>
  33. <input class="form-control" type="text" name="penerbit" id="penerbit">
  34. </div>
  35. <div class="form-group">
  36. <label for="terbit">Terbit</label>
  37. <input class="form-control" type="date" name="terbit" id="terbit">
  38. </div>
  39. <div class="form-group">
  40. <button class="btn btn-sm btn-danger" type="reset">Reset</button>
  41. <button class="btn btn-sm btn-primary" type="submit">Submit</button>
  42. </div>
  43. </form>
  44. </div>
  45. <!-- /.content -->
  46. </div>
  47. </div>
  48. <!-- /.Main Section -->
  49. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement