Rev 19 | Rev 968 | 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 | |||
17 | <h1>Пьянка XP - <bean:write name="event" property="name" /> - Регистрация</h1> |
||
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/submit"> |
||
31 | <backpath:current /> |
||
32 | <html:hidden property="event" /> |
||
33 | |||
34 | <table border=1> |
||
35 | <tr> |
||
36 | <th>Ник на форуме</th> |
||
27 | dev | 37 | <td colspan=2><html:text property="nick" /></td> |
19 | dev | 38 | </tr> |
39 | <tr> |
||
40 | <th>Ваш e-mail</th> |
||
27 | dev | 41 | <td colspan=2><html:text property="email" /></td> |
19 | dev | 42 | </tr> |
43 | <tr> |
||
44 | <th>Разрешить показ e-mail'а</th> |
||
27 | dev | 45 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
19 | dev | 46 | </tr> |
47 | <tr> |
||
48 | <th>Сколько вас</th> |
||
27 | dev | 49 | <td colspan=2><html:text property="persons" /></td> |
19 | dev | 50 | </tr> |
51 | |||
52 | <tr> |
||
53 | <th>Выезд из PLZ</th> |
||
27 | dev | 54 | <td colspan=2><html:text property="fromZip" /></td> |
19 | dev | 55 | </tr> |
56 | <tr> |
||
57 | <th>Выезд из города</th> |
||
27 | dev | 58 | <td colspan=2><html:text property="fromCity" /></td> |
19 | dev | 59 | </tr> |
60 | <tr> |
||
61 | <th>Время отправления</th> |
||
27 | dev | 62 | <td colspan=2><html:text property="departure" /></td> |
19 | dev | 63 | </tr> |
64 | <tr> |
||
65 | <th>Свободных мест в машине</th> |
||
27 | dev | 66 | <td colspan=2><html:text property="freeTransport" /></td> |
19 | dev | 67 | </tr> |
68 | <tr> |
||
69 | <th>Условия транспортировки</th> |
||
27 | dev | 70 | <td colspan=2><html:textarea property="transportComment" /></td> |
19 | dev | 71 | </tr> |
72 | |||
73 | <tr> |
||
74 | <th>Свободных спальных мест</th> |
||
27 | dev | 75 | <td colspan=2><html:text property="freeSleep" /></td> |
19 | dev | 76 | </tr> |
77 | <tr> |
||
78 | <th>Условия ночевки</th> |
||
27 | dev | 79 | <td colspan=2><html:textarea property="sleepComment" /></td> |
19 | dev | 80 | </tr> |
81 | |||
82 | <tr> |
||
83 | <th>Ваше имя</th> |
||
27 | dev | 84 | <td colspan=2><html:text property="name" /></td> |
19 | dev | 85 | </tr> |
86 | <tr> |
||
87 | <th>Телефон</th> |
||
27 | dev | 88 | <td colspan=2><html:text property="phone" /></td> |
19 | dev | 89 | </tr> |
90 | <tr> |
||
91 | <th>Дополнительная информация</th> |
||
27 | dev | 92 | <td colspan=2><html:textarea property="comment" /></td> |
19 | dev | 93 | </tr> |
94 | |||
27 | dev | 95 | <logic:notEmpty name="actList" property="objects"> |
96 | <tr> |
||
97 | <th colspan=3>В чем желаете поучаствовать</th> |
||
98 | </tr> |
||
99 | <tr> |
||
100 | <td>Название</td> |
||
101 | <td>Включить</td> |
||
102 | <td>Дополнительно</td> |
||
103 | </tr> |
||
104 | <logic:iterate name="ParticipantRegisterForm" property="acts" id="acts" indexId="iid"> |
||
105 | <tr> |
||
106 | <th> |
||
107 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
||
108 | <html:hidden name="acts" property="actId" indexed="true" /> |
||
109 | </th> |
||
110 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
||
111 | <td><html:text name="acts" property="comment" indexed="true" /></td> |
||
112 | </tr> |
||
113 | </logic:iterate> |
||
114 | </logic:notEmpty> |
||
115 | |||
19 | dev | 116 | <tr> |
27 | dev | 117 | <td colspan=3> |
19 | dev | 118 | <html:submit>Зарегистрироваться</html:submit> |
119 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
||
120 | </td> |
||
121 | </tr> |
||
122 | </table> |
||
123 | |||
124 | </html:form> |
||
125 | |||
126 | </body> |
||
127 | |||
128 | </html> |