Rev 974 | Rev 976 | 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 | |||
975 | dev | 35 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
36 | <tr> |
||
37 | <td colspan=3><div class="smallHeader">Идентификация</div></td> |
||
38 | </tr> |
||
19 | dev | 39 | <tr> |
40 | <th>Ваш номер</th> |
||
27 | dev | 41 | <td colspan=2><bean:write name="participant" property="ident" /></td> |
19 | dev | 42 | </tr> |
43 | <tr> |
||
44 | <th>Ник на форуме</th> |
||
27 | dev | 45 | <td colspan=2><bean:write name="participant" property="nick" /></td> |
19 | dev | 46 | </tr> |
47 | <tr> |
||
48 | <th>Ваш e-mail</th> |
||
27 | dev | 49 | <td colspan=2><bean:write name="participant" property="email" /></td> |
19 | dev | 50 | </tr> |
51 | <tr> |
||
52 | <th>Разрешить показ e-mail'а</th> |
||
27 | dev | 53 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
19 | dev | 54 | </tr> |
55 | <tr> |
||
56 | <th>Сколько вас</th> |
||
975 | dev | 57 | <td colspan=2><html:text property="persons" style="width:240px" maxlength="10" /></td> |
19 | dev | 58 | </tr> |
59 | |||
975 | dev | 60 | <tr> |
61 | <td colspan=3><div class="smallHeader">Если берете попутчиков</div></td> |
||
62 | </tr> |
||
19 | dev | 63 | <tr> |
64 | <th>Выезд из PLZ</th> |
||
975 | dev | 65 | <td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td> |
19 | dev | 66 | </tr> |
67 | <tr> |
||
68 | <th>Выезд из города</th> |
||
975 | dev | 69 | <td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td> |
19 | dev | 70 | </tr> |
71 | <tr> |
||
72 | <th>Время отправления</th> |
||
975 | dev | 73 | <td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td> |
19 | dev | 74 | </tr> |
75 | <tr> |
||
76 | <th>Свободных мест в машине</th> |
||
975 | dev | 77 | <td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td> |
19 | dev | 78 | </tr> |
79 | <tr> |
||
80 | <th>Условия транспортировки</th> |
||
975 | dev | 81 | <td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td> |
19 | dev | 82 | </tr> |
83 | |||
975 | dev | 84 | <tr> |
85 | <td colspan=3> |
||
86 | <div class="smallHeader">Для живущих в месте проведения</div> |
||
87 | Если вы можете приютить приезжих |
||
88 | </td> |
||
89 | </tr> |
||
19 | dev | 90 | <tr> |
91 | <th>Свободных спальных мест</th> |
||
975 | dev | 92 | <td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td> |
19 | dev | 93 | </tr> |
94 | <tr> |
||
95 | <th>Условия ночевки</th> |
||
975 | dev | 96 | <td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td> |
19 | dev | 97 | </tr> |
98 | |||
975 | dev | 99 | <tr> |
100 | <td colspan=3> |
||
101 | <div class="smallHeader">Контактная информация</div> |
||
102 | Если вы согласны взять попутчиков или пустить переночевать, то |
||
103 | укажите, как с вами связаться |
||
104 | </td> |
||
105 | </tr> |
||
19 | dev | 106 | <tr> |
107 | <th>Ваше имя</th> |
||
975 | dev | 108 | <td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td> |
19 | dev | 109 | </tr> |
110 | <tr> |
||
111 | <th>Телефон</th> |
||
975 | dev | 112 | <td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td> |
19 | dev | 113 | </tr> |
114 | <tr> |
||
969 | dev | 115 | <th>Переведено и получено, евро</th> |
116 | <td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td> |
||
968 | dev | 117 | </tr> |
118 | <tr> |
||
19 | dev | 119 | <th>Дополнительная информация</th> |
975 | dev | 120 | <td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td> |
19 | dev | 121 | </tr> |
122 | |||
27 | dev | 123 | <logic:notEmpty name="actList" property="objects"> |
124 | <tr> |
||
975 | dev | 125 | <th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th> |
27 | dev | 126 | </tr> |
127 | <tr> |
||
975 | dev | 128 | <th>Название</th> |
129 | <th>Включить</th> |
||
130 | <th>Дополнительно</th> |
||
27 | dev | 131 | </tr> |
132 | <logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid"> |
||
133 | <tr> |
||
975 | dev | 134 | <td> |
27 | dev | 135 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
136 | <html:hidden name="acts" property="actId" indexed="true" /> |
||
975 | dev | 137 | </td> |
27 | dev | 138 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
975 | dev | 139 | <td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td> |
27 | dev | 140 | </tr> |
141 | </logic:iterate> |
||
142 | </logic:notEmpty> |
||
143 | |||
19 | dev | 144 | <tr> |
27 | dev | 145 | <td colspan=3> |
19 | dev | 146 | <html:submit>Сохранить</html:submit> |
147 | </td> |
||
148 | </tr> |
||
149 | </table> |
||
150 | |||
151 | </html:form> |
||
152 | |||
975 | dev | 153 | <%@ include file="/footer.jsp" %> |
154 | |||
19 | dev | 155 | </body> |
156 | |||
157 | </html> |