Go to most recent revision | Details | 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-strutsx.tld" prefix="strutsx" %> |
||
6 | <html> |
||
7 | |||
8 | <head> |
||
9 | <meta http-equiv="expires" content="0"> |
||
10 | <title>Пьянка XP - <bean:write name="event" property="name" /> - Редактирование</title> |
||
11 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
||
12 | </head> |
||
13 | |||
14 | <body> |
||
15 | |||
974 | dev | 16 | <%@ include file="/header.jsp" %> |
19 | dev | 17 | |
18 | <strutsx:errorsIterator id="errors" /> |
||
19 | <strutsx:notEmpty name="errors"> |
||
20 | <div class="error">Ошибки: |
||
21 | <ul> |
||
22 | <logic:iterate name="errors" id="error"> |
||
23 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
24 | </logic:iterate> |
||
25 | </ul> |
||
26 | </div> |
||
27 | </strutsx:notEmpty> |
||
28 | |||
29 | <html:form action="/participant/update"> |
||
30 | <html:hidden property="event" /> |
||
31 | <html:hidden property="ident" /> |
||
32 | |||
975 | dev | 33 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
34 | <tr> |
||
35 | <td colspan=3><div class="smallHeader">Идентификация</div></td> |
||
36 | </tr> |
||
19 | dev | 37 | <tr> |
38 | <th>Ваш номер</th> |
||
27 | dev | 39 | <td colspan=2><bean:write name="participant" property="ident" /></td> |
19 | dev | 40 | </tr> |
41 | <tr> |
||
42 | <th>Ник на форуме</th> |
||
27 | dev | 43 | <td colspan=2><bean:write name="participant" property="nick" /></td> |
19 | dev | 44 | </tr> |
45 | <tr> |
||
46 | <th>Ваш e-mail</th> |
||
27 | dev | 47 | <td colspan=2><bean:write name="participant" property="email" /></td> |
19 | dev | 48 | </tr> |
49 | <tr> |
||
50 | <th>Разрешить показ e-mail'а</th> |
||
27 | dev | 51 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
19 | dev | 52 | </tr> |
53 | <tr> |
||
54 | <th>Сколько вас</th> |
||
975 | dev | 55 | <td colspan=2><html:text property="persons" style="width:240px" maxlength="10" /></td> |
19 | dev | 56 | </tr> |
57 | |||
975 | dev | 58 | <tr> |
59 | <td colspan=3><div class="smallHeader">Если берете попутчиков</div></td> |
||
60 | </tr> |
||
19 | dev | 61 | <tr> |
62 | <th>Выезд из PLZ</th> |
||
975 | dev | 63 | <td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td> |
19 | dev | 64 | </tr> |
65 | <tr> |
||
66 | <th>Выезд из города</th> |
||
975 | dev | 67 | <td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td> |
19 | dev | 68 | </tr> |
69 | <tr> |
||
70 | <th>Время отправления</th> |
||
975 | dev | 71 | <td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td> |
19 | dev | 72 | </tr> |
73 | <tr> |
||
74 | <th>Свободных мест в машине</th> |
||
975 | dev | 75 | <td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td> |
19 | dev | 76 | </tr> |
77 | <tr> |
||
78 | <th>Условия транспортировки</th> |
||
975 | dev | 79 | <td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td> |
19 | dev | 80 | </tr> |
81 | |||
975 | dev | 82 | <tr> |
83 | <td colspan=3> |
||
84 | <div class="smallHeader">Для живущих в месте проведения</div> |
||
85 | Если вы можете приютить приезжих |
||
86 | </td> |
||
87 | </tr> |
||
19 | dev | 88 | <tr> |
89 | <th>Свободных спальных мест</th> |
||
975 | dev | 90 | <td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td> |
19 | dev | 91 | </tr> |
92 | <tr> |
||
93 | <th>Условия ночевки</th> |
||
975 | dev | 94 | <td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td> |
19 | dev | 95 | </tr> |
96 | |||
975 | dev | 97 | <tr> |
98 | <td colspan=3> |
||
99 | <div class="smallHeader">Контактная информация</div> |
||
100 | Если вы согласны взять попутчиков или пустить переночевать, то |
||
101 | укажите, как с вами связаться |
||
102 | </td> |
||
103 | </tr> |
||
19 | dev | 104 | <tr> |
105 | <th>Ваше имя</th> |
||
975 | dev | 106 | <td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td> |
19 | dev | 107 | </tr> |
108 | <tr> |
||
109 | <th>Телефон</th> |
||
975 | dev | 110 | <td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td> |
19 | dev | 111 | </tr> |
112 | <tr> |
||
969 | dev | 113 | <th>Переведено и получено, евро</th> |
114 | <td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td> |
||
968 | dev | 115 | </tr> |
116 | <tr> |
||
19 | dev | 117 | <th>Дополнительная информация</th> |
975 | dev | 118 | <td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td> |
19 | dev | 119 | </tr> |
120 | |||
27 | dev | 121 | <logic:notEmpty name="actList" property="objects"> |
122 | <tr> |
||
975 | dev | 123 | <th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th> |
27 | dev | 124 | </tr> |
125 | <tr> |
||
975 | dev | 126 | <th>Название</th> |
127 | <th>Включить</th> |
||
128 | <th>Дополнительно</th> |
||
27 | dev | 129 | </tr> |
130 | <logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid"> |
||
131 | <tr> |
||
975 | dev | 132 | <td> |
27 | dev | 133 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
134 | <html:hidden name="acts" property="actId" indexed="true" /> |
||
975 | dev | 135 | </td> |
27 | dev | 136 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
975 | dev | 137 | <td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td> |
27 | dev | 138 | </tr> |
139 | </logic:iterate> |
||
140 | </logic:notEmpty> |
||
141 | |||
19 | dev | 142 | <tr> |
27 | dev | 143 | <td colspan=3> |
19 | dev | 144 | <html:submit>Сохранить</html:submit> |
145 | </td> |
||
146 | </tr> |
||
147 | </table> |
||
148 | |||
149 | </html:form> |
||
150 | |||
975 | dev | 151 | <%@ include file="/footer.jsp" %> |
152 | |||
19 | dev | 153 | </body> |
154 | |||
155 | </html> |