]> source.dussan.org Git - archiva.git/blob
48b428043b9e77fd055c1affdeffbc8cdbff2f43
[archiva.git] /
1 <%--
2   ~ Copyright 2005-2006 The Apache Software Foundation.
3   ~
4   ~ Licensed under the Apache License, Version 2.0 (the "License");
5   ~ you may not use this file except in compliance with the License.
6   ~ You may obtain a copy of the License at
7   ~
8   ~      http://www.apache.org/licenses/LICENSE-2.0
9   ~
10   ~ Unless required by applicable law or agreed to in writing, software
11   ~ distributed under the License is distributed on an "AS IS" BASIS,
12   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   ~ See the License for the specific language governing permissions and
14   ~ limitations under the License.
15   --%>
16
17 <%@ taglib prefix="s" uri="/struts-tags" %>
18 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
19
20 <html>
21 <s:i18n name="org.apache.archiva.redback.struts2.default">
22 <head>
23   <title><s:text name="register.page.title"/></title>
24 </head>
25
26 <body>
27
28 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
29
30 <h2><s:text name="register.section.title"/></h2>
31    
32 <s:form action="register" namespace="/security" theme="xhtml"
33          id="registerForm" method="post" name="register" cssClass="security register">     
34   
35   <s:textfield label="%{getText('username')}"         name="user.username" size="30" required="true"/>
36   <s:textfield label="%{getText('full.name')}"        name="user.fullName" size="30" required="true"/>
37   <s:textfield label="%{getText('email.address')}"    name="user.email" size="50"    required="true"/>
38
39   <c:if test="${! emailValidationRequired}">
40     <s:password  label="%{getText('password')}"         name="user.password" size="20" required="true"/>
41     <s:password  label="%{getText('confirm.password')}" name="user.confirmPassword" size="20" required="true"/>
42   </c:if>
43   
44   <s:submit value="%{getText('register')}" method="register" />
45   <s:submit value="%{getText('cancel')}" method="cancel" />
46 </s:form>
47
48 </body>
49 </s:i18n>
50 </html>