Subversion Repositories general

Rev

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/update">
31
<backpath:current />
32
<html:hidden property="event" />
33
<html:hidden property="ident" />
34
 
35
<table border=1>
36
	<tr>
37
		<th>Ваш номер</th>
27 dev 38
		<td colspan=2><bean:write name="participant" property="ident" /></td>
19 dev 39
    </tr>
40
	<tr>
41
		<th>Ник на форуме</th>
27 dev 42
		<td colspan=2><bean:write name="participant" property="nick" /></td>
19 dev 43
    </tr>
44
	<tr>
45
		<th>Ваш e-mail</th>
27 dev 46
		<td colspan=2><bean:write name="participant" property="email" /></td>
19 dev 47
    </tr>
48
	<tr>
49
		<th>Разрешить показ e-mail'а</th>
27 dev 50
		<td colspan=2><html:checkbox property="emailPublic" /></td>
19 dev 51
    </tr>
52
	<tr>
53
		<th>Сколько вас</th>
27 dev 54
		<td colspan=2><html:text property="persons" /></td>
19 dev 55
    </tr>
56
 
57
	<tr>
58
		<th>Выезд из PLZ</th>
27 dev 59
		<td colspan=2><html:text property="fromZip" /></td>
19 dev 60
    </tr>
61
	<tr>
62
		<th>Выезд из города</th>
27 dev 63
		<td colspan=2><html:text property="fromCity" /></td>
19 dev 64
    </tr>
65
	<tr>
66
		<th>Время отправления</th>
27 dev 67
		<td colspan=2><html:text property="departure" /></td>
19 dev 68
    </tr>
69
	<tr>
70
		<th>Свободных мест в машине</th>
27 dev 71
		<td colspan=2><html:text property="freeTransport" /></td>
19 dev 72
    </tr>
73
	<tr>
74
		<th>Условия транспортировки</th>
27 dev 75
		<td colspan=2><html:textarea property="transportComment" /></td>
19 dev 76
    </tr>
77
 
78
	<tr>
79
		<th>Свободных спальных мест</th>
27 dev 80
		<td colspan=2><html:text property="freeSleep" /></td>
19 dev 81
    </tr>
82
	<tr>
83
		<th>Условия ночевки</th>
27 dev 84
		<td colspan=2><html:textarea property="sleepComment" /></td>
19 dev 85
    </tr>
86
 
87
	<tr>
88
		<th>Ваше имя</th>
27 dev 89
		<td colspan=2><html:text property="name" /></td>
19 dev 90
    </tr>
91
	<tr>
92
		<th>Телефон</th>
27 dev 93
		<td colspan=2><html:text property="phone" /></td>
19 dev 94
    </tr>
95
	<tr>
96
		<th>Дополнительная информация</th>
27 dev 97
		<td colspan=2><html:textarea property="comment" /></td>
19 dev 98
    </tr>
99
 
27 dev 100
<logic:notEmpty name="actList" property="objects">
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
 
19 dev 121
	<tr>
27 dev 122
		<td colspan=3>
19 dev 123
			<html:submit>Сохранить</html:submit>
124
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
125
		</td>
126
    </tr>
127
</table>
128
 
129
</html:form>
130
 
131
</body>
132
 
133
</html>