Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
||
7 | <html> |
||
8 | |||
9 | <head> |
||
10 | <meta http-equiv="expires" content="0"> |
||
10 | dev | 11 | <title>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</title> |
9 | dev | 12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | </head> |
||
14 | |||
15 | <body> |
||
16 | |||
10 | dev | 17 | <h1>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</h1> |
9 | dev | 18 | |
19 | <strutsx:errorsIterator id="errors" /> |
||
20 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 21 | <div class="error">Ошибки: |
9 | dev | 22 | <ul> |
23 | <logic:iterate name="errors" id="error"> |
||
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
25 | </logic:iterate> |
||
26 | </ul> |
||
27 | </div> |
||
28 | </strutsx:notEmpty> |
||
29 | |||
30 | <html:form action="/admin/participant/submit"> |
||
31 | <backpath:current /> |
||
32 | <html:hidden property="id" /> |
||
33 | <html:hidden property="event" /> |
||
34 | |||
35 | <table border=1> |
||
36 | <tr> |
||
10 | dev | 37 | <th>Кодовый номер</th> |
969 | dev | 38 | <td colspan=2><bean:write name="participant" property="ident" /> </td> |
9 | dev | 39 | </tr> |
40 | <tr> |
||
10 | dev | 41 | <th>Ник</th> |
969 | dev | 42 | <td colspan=2><html:text property="nick" /></td> |
9 | dev | 43 | </tr> |
44 | <tr> |
||
10 | dev | 45 | <th>e-mail</th> |
969 | dev | 46 | <td colspan=2><html:text property="email" /></td> |
9 | dev | 47 | </tr> |
48 | <tr> |
||
10 | dev | 49 | <th>Показ e-mail разрешен</th> |
969 | dev | 50 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
9 | dev | 51 | </tr> |
52 | <tr> |
||
10 | dev | 53 | <th>Имя</th> |
969 | dev | 54 | <td colspan=2><html:text property="name" /></td> |
9 | dev | 55 | </tr> |
56 | <tr> |
||
10 | dev | 57 | <th>Телефон</th> |
969 | dev | 58 | <td colspan=2><html:text property="phone" /></td> |
9 | dev | 59 | </tr> |
60 | <tr> |
||
10 | dev | 61 | <th>Количество человек</th> |
969 | dev | 62 | <td colspan=2><html:text property="persons" /></td> |
9 | dev | 63 | </tr> |
64 | <tr> |
||
10 | dev | 65 | <th>Выезд из PLZ</th> |
969 | dev | 66 | <td colspan=2><html:text property="fromZip" /></td> |
9 | dev | 67 | </tr> |
68 | <tr> |
||
10 | dev | 69 | <th>Выезд из города</th> |
969 | dev | 70 | <td colspan=2><html:text property="fromCity" /></td> |
9 | dev | 71 | </tr> |
72 | <tr> |
||
10 | dev | 73 | <th>Время отправления</th> |
969 | dev | 74 | <td colspan=2><html:text property="departure" /></td> |
9 | dev | 75 | </tr> |
76 | <tr> |
||
10 | dev | 77 | <th>Свободных мест в машине</th> |
969 | dev | 78 | <td colspan=2><html:text property="freeTransport" /></td> |
9 | dev | 79 | </tr> |
80 | <tr> |
||
10 | dev | 81 | <th>Условия транспортировки</th> |
969 | dev | 82 | <td colspan=2><html:textarea property="transportComment" /></td> |
9 | dev | 83 | </tr> |
84 | <tr> |
||
10 | dev | 85 | <th>Свободных спальных мест</th> |
969 | dev | 86 | <td colspan=2><html:text property="freeSleep" /></td> |
9 | dev | 87 | </tr> |
88 | <tr> |
||
10 | dev | 89 | <th>Условия ночевки</th> |
969 | dev | 90 | <td colspan=2><html:textarea property="sleepComment" /></td> |
9 | dev | 91 | </tr> |
92 | <tr> |
||
10 | dev | 93 | <th>Дополнительная информация</th> |
969 | dev | 94 | <td colspan=2><html:textarea property="comment" /></td> |
9 | dev | 95 | </tr> |
96 | <tr> |
||
969 | dev | 97 | <th>Оплачено, евро</th> |
98 | <td><html:text property="payed" /></td> |
||
99 | <td> |
||
100 | <logic:notEmpty name="participant" property="mustPay"> |
||
101 | (должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />) |
||
102 | </logic:notEmpty> |
||
103 | </td> |
||
9 | dev | 104 | </tr> |
105 | <tr> |
||
10 | dev | 106 | <th>Комментарии организаторов</th> |
969 | dev | 107 | <td colspan=2><html:textarea property="privateComment" /></td> |
9 | dev | 108 | </tr> |
27 | dev | 109 | |
110 | <logic:notEmpty name="actList" property="objects"> |
||
111 | <tr> |
||
969 | dev | 112 | <th colspan=3>Участвует в</th> |
27 | dev | 113 | </tr> |
114 | <tr> |
||
115 | <td>Название</td> |
||
116 | <td>Включить</td> |
||
117 | <td>Дополнительно</td> |
||
118 | </tr> |
||
119 | <logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid"> |
||
120 | <tr> |
||
121 | <th> |
||
122 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
||
123 | <html:hidden name="acts" property="actId" indexed="true" /> |
||
124 | </th> |
||
125 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
||
126 | <td><html:text name="acts" property="comment" indexed="true" /></td> |
||
127 | </tr> |
||
128 | </logic:iterate> |
||
129 | </logic:notEmpty> |
||
130 | |||
9 | dev | 131 | <tr> |
969 | dev | 132 | <td colspan=3> |
10 | dev | 133 | <html:submit>Сохранить</html:submit> |
16 | dev | 134 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
9 | dev | 135 | </td> |
136 | </tr> |
||
137 | </table> |
||
138 | |||
139 | </html:form> |
||
140 | |||
141 | </body> |
||
142 | |||
143 | </html> |