
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="ui" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>

<html>
<head>
	<title><webwork:text name="'signup.title'"/></title>
        <meta name="decorator" content="frontpage">
</head>

<body>
<table cellpadding=6 cellspacing=0 border=0 width=400>
<tr><td bgcolor=dddddd colspan=2>
	<font color="000000" size=3><b><webwork:text name="'signup.heading'"/></b></font>
</td></tr>
	<page:applyDecorator name="jiraform">
		<page:param name="description">
			<webwork:text name="'signup.desc'"/>
		</page:param>
		<page:param name="notable">true</page:param>
		<page:param name="action">Signup.jspa</page:param>
		<page:param name="submitName"><webwork:text name="'signup.heading'"/></page:param>
		<page:param name="cancelURI">default.jsp</page:param>

		<ui:textfield label="text('common.words.username')" name="'username'" size="40"/>
		<ui:password label="text('common.words.password')" name="'password'" size="40" />
		<ui:password label="text('signup.confirmPassword')" name="'confirm'" size="40" />
		<ui:textfield label="text('common.words.fullname')" name="'fullname'" size="40" />
		<ui:textfield label="text('common.words.email')" name="'email'" size="40" />

        <webwork:if test="applicationProperties/option('jira.option.captcha.on.signup') == true">
            <ui:component label="text('signup.captcha.text')" name="'captcha'" template="captcha.jsp">
                <ui:param name="'size'">40</ui:param>
                <ui:param name="'url'"><%= request.getContextPath() %>/captcha</ui:param>
            </ui:component>
        </webwork:if>
    </page:applyDecorator>
</table>

</body>
</html>
