Rev 969 | Rev 975 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19 | 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"> |
||
11 | <title>Пьянка XP - <bean:write name="event" property="name" /> - Редактирование</title> |
||
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
||
13 | </head> |
||
14 | |||
15 | <body> |
||
16 | |||
974 | dev | 17 | <%@ include file="/header.jsp" %> |
19 | dev | 18 | |
19 | <strutsx:errorsIterator id="errors" /> |
||
20 | <strutsx:notEmpty name="errors"> |
||
21 | <div class="error">Ошибки: |
||
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="/participant/update"> |
||
31 | <backpath:current /> |
||
32 | <html:hidden property="event" /> |
||
33 | <html:hidden property="ident" /> |
||
34 | |||
35 | <table border=1> |
||
36 | <tr> |
||
37 | <th>Ваш номер</th> |
||
27 | dev | 38 | <td colspan=2><bean:write name="participant" property="ident" /></td> |
19 | dev | 39 | </tr> |
40 | <tr> |
||
41 | <th>Ник на форуме</th> |
||
27 | dev | 42 | <td colspan=2><bean:write name="participant" property="nick" /></td> |
19 | dev | 43 | </tr> |
44 | <tr> |
||
45 | <th>Ваш e-mail</th> |
||
27 | dev | 46 | <td colspan=2><bean:write name="participant" property="email" /></td> |
19 | dev | 47 | </tr> |
48 | <tr> |
||
49 | <th>Разрешить показ e-mail'а</th> |
||
27 | dev | 50 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
19 | dev | 51 | </tr> |
52 | <tr> |
||
53 | <th>Сколько вас</th> |
||
27 | dev | 54 | <td colspan=2><html:text property="persons" /></td> |
19 | dev | 55 | </tr> |
56 | |||
57 | <tr> |
||
58 | <th>Выезд из PLZ</th> |
||
27 | dev | 59 | <td colspan=2><html:text property="fromZip" /></td> |
19 | dev | 60 | </tr> |
61 | <tr> |
||
62 | <th>Выезд из города</th> |
||
27 | dev | 63 | <td colspan=2><html:text property="fromCity" /></td> |
19 | dev | 64 | </tr> |
65 | <tr> |
||
66 | <th>Время отправления</th> |
||
27 | dev | 67 | <td colspan=2><html:text property="departure" /></td> |
19 | dev | 68 | </tr> |
69 | <tr> |
||
70 | <th>Свободных мест в машине</th> |
||
27 | dev | 71 | <td colspan=2><html:text property="freeTransport" /></td> |
19 | dev | 72 | </tr> |
73 | <tr> |
||
74 | <th>Условия транспортировки</th> |
||
27 | dev | 75 | <td colspan=2><html:textarea property="transportComment" /></td> |
19 | dev | 76 | </tr> |
77 | |||
78 | <tr> |
||
79 | <th>Свободных спальных мест</th> |
||
27 | dev | 80 | <td colspan=2><html:text property="freeSleep" /></td> |
19 | dev | 81 | </tr> |
82 | <tr> |
||
83 | <th>Условия ночевки</th> |
||
27 | dev | 84 | <td colspan=2><html:textarea property="sleepComment" /></td> |
19 | dev | 85 | </tr> |
86 | |||
87 | <tr> |
||
88 | <th>Ваше имя</th> |
||
27 | dev | 89 | <td colspan=2><html:text property="name" /></td> |
19 | dev | 90 | </tr> |
91 | <tr> |
||
92 | <th>Телефон</th> |
||
27 | dev | 93 | <td colspan=2><html:text property="phone" /></td> |
19 | dev | 94 | </tr> |
95 | <tr> |
||
969 | dev | 96 | <th>Переведено и получено, евро</th> |
97 | <td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td> |
||
968 | dev | 98 | </tr> |
99 | <tr> |
||
19 | dev | 100 | <th>Дополнительная информация</th> |
27 | dev | 101 | <td colspan=2><html:textarea property="comment" /></td> |
19 | dev | 102 | </tr> |
103 | |||
27 | dev | 104 | <logic:notEmpty name="actList" property="objects"> |
105 | <tr> |
||
106 | <th colspan=3>В чем желаете поучаствовать</th> |
||
107 | </tr> |
||
108 | <tr> |
||
109 | <td>Название</td> |
||
110 | <td>Включить</td> |
||
111 | <td>Дополнительно</td> |
||
112 | </tr> |
||
113 | <logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid"> |
||
114 | <tr> |
||
115 | <th> |
||
116 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
||
117 | <html:hidden name="acts" property="actId" indexed="true" /> |
||
118 | </th> |
||
119 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
||
120 | <td><html:text name="acts" property="comment" indexed="true" /></td> |
||
121 | </tr> |
||
122 | </logic:iterate> |
||
123 | </logic:notEmpty> |
||
124 | |||
19 | dev | 125 | <tr> |
27 | dev | 126 | <td colspan=3> |
19 | dev | 127 | <html:submit>Сохранить</html:submit> |
128 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
||
129 | </td> |
||
130 | </tr> |
||
131 | </table> |
||
132 | |||
133 | </html:form> |
||
134 | |||
135 | </body> |
||
136 | |||
137 | </html> |