<% layout = 'layouts/main' %>
<% title = 'Add Project' %>

<div class="page-header">
  <h1>Add Project</h1>
</div>

<form method="POST" class="form">
  <% if (typeof error !== 'undefined') { %>
  <div class="alert alert-error"><%= error %></div>
  <% } %>
  <div class="form-group">
    <label>Project Name</label>
    <input type="text" name="name" placeholder="e.g. test_wakil" required>
  </div>
  <div class="form-group">
    <label>Project Path</label>
    <input type="text" name="path" placeholder="e.g. C:\Users\aitbe\test_wakil" required>
    <small>Full path to the test project root (where ai-qa-workflow.js lives)</small>
  </div>
  <button type="submit" class="btn btn-primary">Add Project</button>
  <a href="/projects" class="btn">Cancel</a>
</form>
