diff options
author | Vitaly Takmazov | 2016-07-22 16:51:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-27 13:52:02 +0300 |
commit | d3454e70a5855164d17c563fe15e8674b5a5ae2e (patch) | |
tree | fda0c9da5e44de736f0215b3d6c63872329b0544 /juick-www/src/main/java/com/juick/www/SignUp.java | |
parent | dbc48e0d220107ac0887d21f2144665f4eea5aab (diff) |
* drop jQuery dependency
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/SignUp.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/SignUp.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/java/com/juick/www/SignUp.java b/juick-www/src/main/java/com/juick/www/SignUp.java index 7dbfb6dc..865fc453 100644 --- a/juick-www/src/main/java/com/juick/www/SignUp.java +++ b/juick-www/src/main/java/com/juick/www/SignUp.java @@ -63,7 +63,7 @@ public class SignUp { response.setContentType("text/html; charset=UTF-8"); try (PrintWriter out = response.getWriter()) { - PageTemplates.pageHead(out, "Новый пользователь", null); + PageTemplates.pageHead(out, visitor, "Новый пользователь", null); PageTemplates.pageNavigation(out, visitor, null); out.println("<section id=\"content\">"); @@ -101,7 +101,7 @@ public class SignUp { out.println("<input type=\"hidden\" name=\"action\" value=\"new\"/>"); out.println("<input type=\"hidden\" name=\"type\" value=\"" + type + "\"/>"); out.println("<input type=\"hidden\" name=\"hash\" value=\"" + hash + "\"/>"); - out.println("<p>Имя пользователя: <input type=\"text\" name=\"username\" id=\"username\" onblur=\"checkUsername()\"/><br/><i>(От 2-х до 16-и латинских символов и/или цифр, дефис)</i></p>"); + out.println("<p>Имя пользователя: <input type=\"text\" name=\"username\" id=\"username\"/><br/><i>(От 2-х до 16-и латинских символов и/или цифр, дефис)</i></p>"); out.println("<p>Пароль: <input type=\"password\" name=\"password\"/><br/><i>(от 6-и до 32-х символов)</i></p>"); out.println("<p><input type=\"submit\" value=\" OK \"/></p>"); out.println("</form>"); |