<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
    />
    <meta name="description" content="" />
    <title>World Wines</title>

    <link
      rel="canonical"
      href="https://getbootstrap.com/docs/4.5/examples/album/"
    />

    <!-- Bootstrap core CSS -->
    <link
      rel="stylesheet"
      href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
      integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
      crossorigin="anonymous"
    />

    <link href="css/album.css" rel="stylesheet" />
  </head>
  <body>
    <%- include('common/header'); -%>
<div class="container">
    <div class="row col-md-12 col-md-offset-2 custyle mx-auto">
        <h1 class="mx-auto"> ğŸ�· Create A New Wine Tasters ğŸ�·</h1>
    </div>
    <div>
        <form method="POST" action="/create-taster">
          <div class="form-group">
            <label for="name">Taster Name</label>
             <input
                       type="text"
                       class="form-control"
                       id="name"
                       name="name"
                       placeholder="Enter Name"
             />
             
             <% if (errors['name']) { %>
              <p style="color: red"><%= errors['name'].message %></p>
              <% } %>
            </div>
            <div class="form-group">
              <label for="name">Twitter Handle</label>
              <input
                type="text"
                class="form-control"
                id="twitter"
                name="twitter"
              />
              <% if (errors['twitter']) { %>
              <p style="color: red"><%= errors['twitter'].message %></p>
              <% } %>
            </div>
          <button type="submit" class="btn btn-primary">Submit</button>
         </form>
    </div>
  </div>
    

    <%- include('common/footer') -%>
  </body>
</html>
