products.blade.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @extends('layout')
  2. @section('content')
  3. <style>
  4. .bd-placeholder-img {
  5. font-size: 1.125rem;
  6. text-anchor: middle;
  7. }
  8. @media (min-width: 768px) {
  9. .bd-placeholder-img-lg {
  10. font-size: 3.5rem;
  11. }
  12. }
  13. </style>
  14. <!-- Custom styles for this template -->
  15. <link href="css/form-validation.css" rel="stylesheet">
  16. </head>
  17. <body class="bg-light">
  18. <div class="container">
  19. <div class="py-5 text-center">
  20. <img class="d-block mx-auto mb-4" src="/docs/4.3.1/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72" alt="bootstrap">
  21. <h1>Top up account</h1>
  22. <p class="lead">Enter your email and the amount of money you want to add</p>
  23. </div>
  24. <form method="POST" align="center" class="needs-validation" novalidate="" action="{{action('PostsController@pro')}}">
  25. {{csrf_field()}}
  26. <div class="mb-4">
  27. <label for="product">Товар</label>
  28. <input type="text" name="product" class="form-control" id="product">
  29. </div>
  30. <div class="mb-4">
  31. <label for="price">Цена</label>
  32. <input type="text" name="price" class="form-control" id="price">
  33. </div>
  34. <div class="mb-4">
  35. <label for="automobile">Автомобиль</label>
  36. <input type="text" name="automobile" class="form-control" id="automobile">
  37. </div>
  38. <div class="mb-4">
  39. <label for="in_stock">Есть в наличие</label>
  40. <input type="text" name="in_stock" class="form-control" id="in_stock">
  41. </div>
  42. <hr class="mb-4">
  43. <button class="btn btn-primary btn-lg btn-block" type="submit">Continue to checkout</button>
  44. </form>
  45. </body>
  46. </html>
  47. @endsection