Subversion Repositories general

Rev

Rev 969 | Rev 975 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 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">
10 dev 11
	<title>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</title>
9 dev 12
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
13
</head>
14
 
15
<body>
16
 
10 dev 17
<h1>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</h1>
9 dev 18
 
19
<strutsx:errorsIterator id="errors" />
20
<strutsx:notEmpty name="errors">
10 dev 21
	<div class="error">Ошибки:
9 dev 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="/admin/participant/submit">
31
<backpath:current />
32
<html:hidden property="id" />
33
<html:hidden property="event" />
34
 
972 dev 35
<table border=0 cellspacing=0 cellpadding=4>
36
	<tr class="even">
10 dev 37
		<th>Кодовый номер</th>
972 dev 38
		<td colspan=2 width=300><bean:write name="participant" property="ident" />&nbsp;</td>
9 dev 39
    </tr>
972 dev 40
	<tr class="odd">
10 dev 41
		<th>Ник</th>
972 dev 42
		<td colspan=2><html:text property="nick" style="width:100%" /></td>
9 dev 43
    </tr>
972 dev 44
	<tr class="even">
10 dev 45
		<th>e-mail</th>
972 dev 46
		<td colspan=2><html:text property="email" style="width:100%" /></td>
9 dev 47
    </tr>
972 dev 48
	<tr class="odd">
10 dev 49
		<th>Показ e-mail разрешен</th>
969 dev 50
		<td colspan=2><html:checkbox property="emailPublic" /></td>
9 dev 51
    </tr>
972 dev 52
	<tr class="even">
10 dev 53
		<th>Имя</th>
972 dev 54
		<td colspan=2><html:text property="name" style="width:100%" /></td>
9 dev 55
    </tr>
972 dev 56
	<tr class="odd">
10 dev 57
		<th>Телефон</th>
972 dev 58
		<td colspan=2><html:text property="phone" style="width:100%" /></td>
9 dev 59
    </tr>
972 dev 60
	<tr class="even">
10 dev 61
		<th>Количество человек</th>
972 dev 62
		<td colspan=2><html:text property="persons" style="width:100%" /></td>
9 dev 63
    </tr>
972 dev 64
	<tr class="odd">
10 dev 65
		<th>Выезд из PLZ</th>
972 dev 66
		<td colspan=2><html:text property="fromZip" style="width:100%" /></td>
9 dev 67
    </tr>
972 dev 68
	<tr class="even">
10 dev 69
		<th>Выезд из города</th>
972 dev 70
		<td colspan=2><html:text property="fromCity" style="width:100%" /></td>
9 dev 71
    </tr>
972 dev 72
	<tr class="odd">
10 dev 73
		<th>Время отправления</th>
972 dev 74
		<td colspan=2><html:text property="departure" style="width:100%" /></td>
9 dev 75
    </tr>
972 dev 76
	<tr class="even">
10 dev 77
		<th>Свободных мест в машине</th>
972 dev 78
		<td colspan=2><html:text property="freeTransport" style="width:100%" /></td>
9 dev 79
    </tr>
972 dev 80
	<tr class="odd">
10 dev 81
		<th>Условия транспортировки</th>
972 dev 82
		<td colspan=2><html:textarea property="transportComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 83
    </tr>
972 dev 84
	<tr class="even">
10 dev 85
		<th>Свободных спальных мест</th>
972 dev 86
		<td colspan=2><html:text property="freeSleep" style="width:100%" /></td>
9 dev 87
    </tr>
972 dev 88
	<tr class="odd">
10 dev 89
		<th>Условия ночевки</th>
972 dev 90
		<td colspan=2><html:textarea property="sleepComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 91
    </tr>
972 dev 92
	<tr class="even">
10 dev 93
		<th>Дополнительная информация</th>
972 dev 94
		<td colspan=2><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td>
9 dev 95
    </tr>
972 dev 96
	<tr class="odd">
969 dev 97
		<th>Оплачено, евро</th>
972 dev 98
		<td><html:text property="payed" style="width:100%" /></td>
969 dev 99
		<td>
100
			<logic:notEmpty name="participant" property="mustPay">
101
				(должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />)
102
			</logic:notEmpty>
103
		</td>
9 dev 104
    </tr>
972 dev 105
	<tr class="even">
10 dev 106
		<th>Комментарии организаторов</th>
972 dev 107
		<td colspan=2><html:textarea property="privateComment" cols="40" rows="8" style="width:100%" /></td>
9 dev 108
    </tr>
27 dev 109
 
110
<logic:notEmpty name="actList" property="objects">
111
	<tr>
972 dev 112
		<th colspan=3><div class="smallHeader">Участвует в</div></th>
27 dev 113
    </tr>
114
	<tr>
972 dev 115
		<td class="subHeader">Название</td>
116
		<td class="subHeader">Включить</td>
117
		<td class="subHeader">Дополнительно</td>
27 dev 118
    </tr>
119
	<logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid">
120
		<tr>
972 dev 121
			<td>
27 dev 122
				<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
123
				<html:hidden name="acts" property="actId" indexed="true" />
972 dev 124
			</td>
27 dev 125
			<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
972 dev 126
			<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
27 dev 127
		</tr>
128
	</logic:iterate>
129
</logic:notEmpty>
130
 
9 dev 131
	<tr>
969 dev 132
		<td colspan=3>
10 dev 133
			<html:submit>Сохранить</html:submit>
16 dev 134
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
9 dev 135
		</td>
136
    </tr>
137
</table>
138
 
139
</html:form>
140
 
141
</body>
142
 
143
</html>