<!DOCTYPE html>
<html lang="en">
  <head>
    <%- include ('../partials/head') -%>
    <script type="text/javascript" src="/src/js/utilitiessForgotPass.js"></script>
    <script type="text/javascript" src="/src/js/loginUtilities.js"></script>
    <link rel="stylesheet" type="text/css" href="/src/css/generalStyle.css">
  </head>
  <body>

  <header>
    <%if(user=='Usuari'){%>
        <%- include ('../partials/header') -%>
    <%} else {%>
        <%- include ('../partials/loggedUserHeader') -%>
    <%}%>
  </header>

  <main>
    <div class="container text-center">
      <h1><%= strings['reset_pass']['reset_pass'][lang] %></h1>
      <div id="recoverInfo"></div>
      <form id="recoverForm" method="POST">
        <input type="password" id="password" class="form-control mb-1" placeholder="<%= strings['reset_pass']['estableix_pass'][lang] %>" name="pass1" required autofocus>
        <input type="password" id="passwordCheck" class="form-control" placeholder="<%= strings['reset_pass']['repeteix_pass'][lang] %>" name="pass2" required autofocus>
        <button class="btn btn-primary btn-block mt-2" type="submit"><%= strings['afegir']['envia'][lang] %></button>
      </form>
    </div>
  </main>
  <%- include ('../partials/footer') -%>
  </body>
</html>
