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