<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html:html>
  <body>
    <center>
    <h1>Registro de usuarios</h1>
    <html:form action="/registrar" method="POST">
      <table>
      <tr>
        <td>Nombre:</td>
        <td><html:text property="nombre"/></td>
      </tr>
      <tr>
        <td>Apellidos:</td>
        <td><html:text property="apellidos"/></td>
      </tr>
      <tr>
        <td>Usuario:</td>
        <td><html:text property="usuario"/></td>
      </tr>
      <tr>
        <td>Password:</td>
        <td><html:password property="password"/></td>
      </tr>
      <tr>
        <td>Repetir Password:</td>
        <td><html:password property="passwordrep"/></td>
      </tr>
      <tr>
        <td>Email:</td>
        <td><html:text property="email"/></td>
      </tr>
      <tr>
        <td colspan="2">
          <br/>
          <html:submit property="submit" value="Registrar"/>
          &nbsp;&nbsp;
          <html:reset value ="Limpiar"/>
        </td>
      </tr>
      </table>
    </html:form>
    <br/>
    </center>
  </body>
</html:html>
