Subversion Repositories general

Rev

Rev 975 | Rev 980 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
¿<%@ 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/ak-strutsx.tld"       prefix="strutsx"  %>
<html>

<head>
        <meta http-equiv="expires" content="0">
        <title>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</title>
        <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>

<body>

<h1>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</h1>

<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
        <div class="error">Ошибки:
                <ul>
                <logic:iterate name="errors" id="error">
                        <li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
                </logic:iterate>
                </ul>
        </div>
</strutsx:notEmpty>

<html:form action="/admin/participant/submit">
<backpath:current />
<html:hidden property="id" />
<html:hidden property="event" />

<table border=0 cellspacing=0 cellpadding=4>
        <tr class="even">
                <th>Кодовый номер</th>
                <td colspan=2 width=300><bean:write name="participant" property="ident" />&nbsp;</td>
    </tr>
        <tr class="odd">
                <th>Ник</th>
                <td colspan=2><html:text property="nick" style="width:100%" maxlength="255" /></td>
    </tr>
        <tr class="even">
                <th>e-mail</th>
                <td colspan=2><html:text property="email" style="width:100%" maxlength="255" /></td>
    </tr>
        <tr class="odd">
                <th>Показ e-mail разрешен</th>
                <td colspan=2><html:checkbox property="emailPublic" /></td>
    </tr>
        <tr class="even">
                <th>Имя</th>
                <td colspan=2><html:text property="name" style="width:100%" maxlength="255" /></td>
    </tr>
        <tr class="odd">
                <th>Телефон</th>
                <td colspan=2><html:text property="phone" style="width:100%" maxlength="255" /></td>
    </tr>
        <tr class="even">
                <th>Количество человек</th>
                <td colspan=2><html:text property="persons" style="width:100%" maxlength="10" /></td>
    </tr>
        <tr class="odd">
                <th>Выезд из PLZ</th>
                <td colspan=2><html:text property="fromZip" style="width:100%" maxlength="10" /></td>
    </tr>
        <tr class="even">
                <th>Выезд из города</th>
                <td colspan=2><html:text property="fromCity" style="width:100%" maxlength="100" /></td>
    </tr>
        <tr class="odd">
                <th>Время отправления</th>
                <td colspan=2><html:text property="departure" style="width:100%" maxlength="100" /></td>
    </tr>
        <tr class="even">
                <th>Свободных мест в машине</th>
                <td colspan=2><html:text property="freeTransport" style="width:100%" maxlength="10" /></td>
    </tr>
        <tr class="odd">
                <th>Условия транспортировки</th>
                <td colspan=2><html:textarea property="transportComment" cols="40" rows="8" style="width:100%" /></td>
    </tr>
        <tr class="even">
                <th>Свободных спальных мест</th>
                <td colspan=2><html:text property="freeSleep" style="width:100%" maxlength="10" /></td>
    </tr>
        <tr class="odd">
                <th>Условия ночевки</th>
                <td colspan=2><html:textarea property="sleepComment" cols="40" rows="8" style="width:100%" /></td>
    </tr>
        <tr class="even">
                <th>Дополнительная информация</th>
                <td colspan=2><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td>
    </tr>
        <tr class="odd">
                <th>Оплачено, евро</th>
                <td><html:text property="payed" style="width:100%" maxlength="10" /></td>
                <td>
                        <logic:notEmpty name="participant" property="mustPay">
                                (должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />)
                        </logic:notEmpty>
                </td>
    </tr>
        <tr class="even">
                <th>Комментарии организаторов</th>
                <td colspan=2><html:textarea property="privateComment" cols="40" rows="8" style="width:100%" /></td>
    </tr>

<logic:notEmpty name="actList" property="objects">
        <tr>
                <th colspan=3><div class="smallHeader">Участвует в</div></th>
    </tr>
        <tr>
                <td class="subHeader">Название</td>
                <td class="subHeader">Включить</td>
                <td class="subHeader">Дополнительно</td>
    </tr>
        <logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid">
                <tr>
                        <td>
                                <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
                                <html:hidden name="acts" property="actId" indexed="true" />
                        </td>
                        <td><html:checkbox name="acts" property="selected" indexed="true" /></td>
                        <td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
                </tr>
        </logic:iterate>
</logic:notEmpty>

        <tr>
                <td colspan=3>
                        <html:submit>Сохранить</html:submit>
                        <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
                </td>
    </tr>
</table>

</html:form>

<%@ include file="/admin/footer.jsp" %>

</body>

</html>