<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html>
<head>
<title>ユーザ登録</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/view/css/webform.css'/>" />
</head>
<body>
<jsp:include page="/view/header.jsp" />
<jsp:include page="/view/menu.jsp" />
<font color="#FF0000">
<html:errors/>
</font>
<html:form action="/NewUser" >
<table>
    <tr>
        <th>オペレータID</th>
        <td><html:text property="id" maxlength="20" value="${id}"/></td>
    </tr>
    <tr>
        <th>オペレータ名</th>
        <td><html:text property="operatorName" maxlength="20" value="${operatorName}"/></td>
    </tr>
    <tr>
        <th>ロール</th>
        <td>
        	<html:checkbox styleId="checkbox" property="roleRead"/>Read
            <html:checkbox styleId="checkbox" property="roleWrite" />Write
			<html:checkbox styleId="checkbox" property="roleCSVDownload" />CSV Download
			<html:checkbox styleId="checkbox" property="roleUserManager" />User Manager
		</td>
    </tr>
	 <tr>
        <th>パスワード</th>
        <td><html:password property="password1" maxlength="20" value="${password1}"/></td>
    </tr>
   <tr>
        <th>パスワード（再入力）</th>
        <td><html:password property="password2" maxlength="20" value="${password2}"/></td>
    </tr>
</table>
<html:submit property="newUserBack" value="戻る" /> <html:submit property="newUserNext" value="次へ" />
</html:form>
<jsp:include page="/view/footer.jsp" />
</body>
</html>