regAdminPage.jsp 1.2 KB

12345678910111213141516171819202122232425262728
  1. <%@ taglib prefix="spring" uri="http://www.springframework.org/tags/form" %>
  2. <%--
  3. Created by IntelliJ IDEA.
  4. User: Кинетик
  5. Date: 02.01.2017
  6. Time: 23:30
  7. To change this template use File | Settings | File Templates.
  8. --%>
  9. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  10. <html>
  11. <head>
  12. <title>reg admin</title>
  13. </head>
  14. <body>
  15. <spring:form method="post" modelAttribute="admin" action="regAdminAction">
  16. <spring:input path="modFamily" type="text" placeholder="Фамилия"/> <br/>
  17. <spring:input path="modFirstName" type="text" placeholder="Имя"/> <br/>
  18. <spring:input path="modSecName" type="text" placeholder="Отчество"/> <br/>
  19. <spring:input path="modEmail" type="text" placeholder="E-mail"/> <br/>
  20. <spring:input path="modHometown" type="text" placeholder="Город"/> <br/>
  21. <spring:input path="modPhone" type="text" placeholder="Телефон"/> <br/>
  22. <spring:input path="modBirthdate" type="date" placeholder="День рождения"/> <br/>
  23. <spring:input path="modPassword" type="password" placeholder="Пароль"/> <br/>
  24. <spring:button>Зарегистрироваться</spring:button>
  25. </spring:form>
  26. </body>
  27. </html>