Rev 9 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9 | Rev 10 | ||
---|---|---|---|
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>Edit participant</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>Edit participant</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">Errors in input: |
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="/admin/participant/submit"> |
30 | <html:form action="/admin/participant/submit"> |
31 | <backpath:current /> |
31 | <backpath:current /> |
32 | <html:hidden property="id" /> |
32 | <html:hidden property="id" /> |
33 | <html:hidden property="event" /> |
33 | <html:hidden property="event" /> |
34 | 34 | ||
35 | <table border=1> |
35 | <table border=1> |
36 | <tr> |
36 | <tr> |
37 | <th>Ident</th> |
37 | <th>Кодовый номер</th> |
38 | <td><bean:write name="participant" property="ident" /></td> |
38 | <td><bean:write name="participant" property="ident" /> </td> |
39 | </tr> |
39 | </tr> |
40 | <tr> |
40 | <tr> |
41 | <th>Nick</th> |
41 | <th>Ник</th> |
42 | <td><html:text property="nick" /></td> |
42 | <td><html:text property="nick" /></td> |
43 | </tr> |
43 | </tr> |
44 | <tr> |
44 | <tr> |
45 | <th>Email</th> |
45 | <th>e-mail</th> |
46 | <td><html:text property="email" /></td> |
46 | <td><html:text property="email" /></td> |
47 | </tr> |
47 | </tr> |
48 | <tr> |
48 | <tr> |
49 | <th>Email is public</th> |
49 | <th>Показ e-mail разрешен</th> |
50 | <td colspan=3><html:checkbox property="emailPublic" /></td> |
50 | <td colspan=3><html:checkbox property="emailPublic" /></td> |
51 | </tr> |
51 | </tr> |
52 | <tr> |
52 | <tr> |
53 | <th>Name</th> |
53 | <th>Имя</th> |
54 | <td><html:text property="name" /></td> |
54 | <td><html:text property="name" /></td> |
55 | </tr> |
55 | </tr> |
56 | <tr> |
56 | <tr> |
57 | <th>Phone</th> |
57 | <th>Телефон</th> |
58 | <td><html:text property="phone" /></td> |
58 | <td><html:text property="phone" /></td> |
59 | </tr> |
59 | </tr> |
60 | <tr> |
60 | <tr> |
61 | <th>Persons</th> |
61 | <th>Количество человек</th> |
62 | <td><html:text property="persons" /></td> |
62 | <td><html:text property="persons" /></td> |
63 | </tr> |
63 | </tr> |
64 | <tr> |
64 | <tr> |
65 | <th>From ZIP</th> |
65 | <th>Выезд из PLZ</th> |
66 | <td><html:text property="fromZip" /></td> |
66 | <td><html:text property="fromZip" /></td> |
67 | </tr> |
67 | </tr> |
68 | <tr> |
68 | <tr> |
69 | <th>From city</th> |
69 | <th>Выезд из города</th> |
70 | <td><html:text property="fromCity" /></td> |
70 | <td><html:text property="fromCity" /></td> |
71 | </tr> |
71 | </tr> |
72 | <tr> |
72 | <tr> |
73 | <th>Departure</th> |
73 | <th>Время отправления</th> |
74 | <td><html:text property="departure" /></td> |
74 | <td><html:text property="departure" /></td> |
75 | </tr> |
75 | </tr> |
76 | <tr> |
76 | <tr> |
77 | <th>Free places in transport</th> |
77 | <th>Свободных мест в машине</th> |
78 | <td><html:text property="freeTransport" /></td> |
78 | <td><html:text property="freeTransport" /></td> |
79 | </tr> |
79 | </tr> |
80 | <tr> |
80 | <tr> |
81 | <th>Comment to free places in transport</th> |
81 | <th>Условия транспортировки</th> |
82 | <td><html:textarea property="transportComment" /></td> |
82 | <td><html:textarea property="transportComment" /></td> |
83 | </tr> |
83 | </tr> |
84 | <tr> |
84 | <tr> |
85 | <th>Free places to sleep</th> |
85 | <th>Свободных спальных мест</th> |
86 | <td><html:text property="freeSleep" /></td> |
86 | <td><html:text property="freeSleep" /></td> |
87 | </tr> |
87 | </tr> |
88 | <tr> |
88 | <tr> |
89 | <th>Comment to free places to sleep</th> |
89 | <th>Условия ночевки</th> |
90 | <td><html:textarea property="sleepComment" /></td> |
90 | <td><html:textarea property="sleepComment" /></td> |
91 | </tr> |
91 | </tr> |
92 | <tr> |
92 | <tr> |
93 | <th>Comment</th> |
93 | <th>Дополнительная информация</th> |
94 | <td><html:textarea property="comment" /></td> |
94 | <td><html:textarea property="comment" /></td> |
95 | </tr> |
95 | </tr> |
96 | <tr> |
96 | <tr> |
97 | <th>Payed</th> |
97 | <th>Оплачено</th> |
98 | <td colspan=3><html:checkbox property="payed" /></td> |
98 | <td colspan=3><html:checkbox property="payed" /></td> |
99 | </tr> |
99 | </tr> |
100 | <tr> |
100 | <tr> |
101 | <th>Private comment</th> |
101 | <th>Комментарии организаторов</th> |
102 | <td><html:textarea property="privateComment" /></td> |
102 | <td><html:textarea property="privateComment" /></td> |
103 | </tr> |
103 | </tr> |
104 | <tr> |
104 | <tr> |
105 | <td colspan=2> |
105 | <td colspan=2> |
106 | <html:submit>Submit</html:submit> |
106 | <html:submit>Сохранить</html:submit> |
107 | <backpath:backlink>Back</backpath:backlink> |
107 | <backpath:backlink>Отменить</backpath:backlink> |
108 | </td> |
108 | </td> |
109 | </tr> |
109 | </tr> |
110 | </table> |
110 | </table> |
111 | 111 | ||
112 | </html:form> |
112 | </html:form> |
113 | 113 | ||
114 | </body> |
114 | </body> |
115 | 115 | ||
116 | </html> |
116 | </html> |