<%@ include file="/includes/setup.inc" %>
<html>
  <head>
    <title>
      Add Book to Library
    </title>
    <link rel="stylesheet" type="text/css" href='<c:url value="/css/app.css"/>'>
  </head>
  <body>
    <h1>
      Add Books to Library
    </h1>
    <hr>
    Enter information below to add a book to the library.
    <html:errors/>
    <html:form action="/addBook" focus="title" onsubmit="return validateAddBookForm(this);">
      <table>
        <tr>
          <td>
            Title:
          </td>
          <td>
            <html:text property="title"/>
          </td>
        </tr>
        <tr>
          <td>
            Author:
          </td>
          <td>
            <html:text property="author"/>
          </td>
        </tr>
        <tr>
          <td>
            ISBN:
          </td>
          <td>
            <html:text property="isbn"/>
          </td>
        </tr>
      </table>
      <p>
        <html:submit property="addBookAction" value="Add Book"/>
        <html:submit property="addBookAction" value="Verify"/>
      </p>
    </html:form>
    <html:javascript formName="AddBookForm"/>
  </body>
</html>
