<%@ include file="/common/taglibs.jsp" %>

<head>
    <title><fmt:message key="title.signup"/></title>
</head>

<s:form method="post" action="signup">
        <div class="realContent">
        <div class="TabPanel">
        	<div class="Pane">
	            <h2><fmt:message key='heading.signup'/></h2>
	            <span class="Field"><s:textfield key="username" label="%{getText('label.user.username')}" required="true" theme="xhtml"/></span>
	            <span class="Field MediumField"><s:textfield key="email" label="%{getText('label.user.email')}" required="true" theme="xhtml"/></span>	   
	            <span class="Field  Cleared"><s:password key="password" label="%{getText('label.user.password')}" showPassword="true" theme="xhtml" required="true"
                    cssClass="text medium"/></span>
                    <span class="Field"><s:password key="confirmPassword" label="%{getText('label.user.confirmPassword')}" theme="xhtml" required="true"
                    showPassword="true" cssClass="text medium"/></span>
	            <span class="Field Cleared">
	            		<s:textfield key="j_captcha_response" label="%{getText('label.user.captcha')}" required="true" theme="xhtml"/>
	            </span>
	            <span class="Field">
	            	<img src="${ctx}/captcha"/>
	            </span>
	        </div>
	        
	        <div class="Pane">
	            <h2><fmt:message key='heading.signup.optionalinfo'/></h2>
	            <span class="Field"><s:textfield key="firstName" label="%{getText('label.user.firstName')}" theme="xhtml" cssClass="text medium"/></span>
	            <span class="Field"><s:textfield key="lastName" label="%{getText('label.user.lastName')}" theme="xhtml" cssClass="text medium"/></span>
	            <span class="Field"><s:textfield key="phoneNumber" label="%{getText('label.user.phoneNumber')}" theme="xhtml"/></span>
	            <span class="Field"><s:textfield key="website" label="%{getText('label.user.website')}" cssClass="text large" theme="xhtml"/></span>
	            <div class="Actions">
		            <ul>
		                <li><s:submit key="action.signup"/></li>
		            </ul>
	
		        </div>
	        </div>
	  </div>
	  </div>
        
   

</s:form>