Subversion Repositories general

Rev

Rev 912 | Blame | Last modification | View Log | RSS feed

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
<%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core"     %>
<html>

<head>
        <meta http-equiv="expires" content="0">
        <title><bean:message key="ak.hostcaptain.page.user.edit.title" /></title>
</head>

<body>

<h1><bean:message key="ak.hostcaptain.page.user.edit.title" /></h1>

<html:errors/>

<html:form action="/user/submit">
<backpath:current />
<html:hidden property="id" />

        <bean:message key="ak.hostcaptain.page.user.edit.login" />:
                <html:text property="login" />
    <br>

        <bean:message key="ak.hostcaptain.page.user.edit.password" />:
                <html:password property="password" redisplay="false" />
    <br>

        <bean:message key="ak.hostcaptain.page.user.edit.password_again" />:
                <html:password property="password2" redisplay="false" />
    <br>

        <bean:message key="ak.hostcaptain.page.user.edit.boss" />:
                <html:select property="boss">
                        <html:option value="" key="ak.hostcaptain.page.user.edit.boss.empty"/>
                        <core:options collection="users" property="id" />
                </html:select>
        <br>

        <html:checkbox property="superuser" />
                <bean:message key="ak.hostcaptain.page.user.edit.superuser" />
                FIXME: don't show this checkbox for editor itself
        <br>

        <html:checkbox property="enabled" />
                <bean:message key="ak.hostcaptain.page.user.edit.enabled" />
        <br>

        <bean:message key="ak.hostcaptain.page.user.edit.comment" />:
                <html:textarea property="comment" />
    <br>

        <html:submit><bean:message key="ak.hostcaptain.page.user.edit.submit" /></html:submit>

<backpath:backlink><bean:message key="ak.hostcaptain.page.user.edit.back" /></backpath:backlink>
</html:form>

</body>

</html>