<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">

    <title>Storage</title>
</head>
<body>
    <div class ="container">
      <h1 class = "mb-4"> <%=product.name%></h1>

      <div class ="text muted mb-2"><%= 
        product.supplied.toLocaleDateString()%></div>
      <div class ="container .bg-info">
            <h2>Quantity: <%= product.quantity%></h2>
            <h2>Supplier: <%= product.supplier%></h2>
            <h2>Shelves: <%= product.shelves%></h2>
            <h2>Status: <%= product.status%></h2>
    
      </div>

        

      <a href ="/" class = "btn btn-secondary">All Products</a>
      <a href = "/products/edit/<%= product.id%>"
        class= "btn btn-info">Edit</a>

    </div>
</body>
</html>
