Subversion Repositories general

Rev

Rev 27 | Rev 969 | 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>
968 dev 96
		<th>Деньги переведены и получены</th>
97
		<td colspan=2>
98
			<logic:equal name="participant" property="payed" value="true">да</logic:equal>
99
			<logic:notEqual name="participant" property="payed" value="true">нет</logic:notEqual>
100
		</td>
101
    </tr>
102
	<tr>
19 dev 103
		<th>Дополнительная информация</th>
27 dev 104
		<td colspan=2><html:textarea property="comment" /></td>
19 dev 105
    </tr>
106
 
27 dev 107
<logic:notEmpty name="actList" property="objects">
108
	<tr>
109
		<th colspan=3>В чем желаете поучаствовать</th>
110
    </tr>
111
	<tr>
112
		<td>Название</td>
113
		<td>Включить</td>
114
		<td>Дополнительно</td>
115
    </tr>
116
	<logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid">
117
		<tr>
118
			<th>
119
				<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
120
				<html:hidden name="acts" property="actId" indexed="true" />
121
			</th>
122
			<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
123
			<td><html:text name="acts" property="comment" indexed="true" /></td>
124
		</tr>
125
	</logic:iterate>
126
</logic:notEmpty>
127
 
19 dev 128
	<tr>
27 dev 129
		<td colspan=3>
19 dev 130
			<html:submit>Сохранить</html:submit>
131
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
132
		</td>
133
    </tr>
134
</table>
135
 
136
</html:form>
137
 
138
</body>
139
 
140
</html>