Subversion Repositories general

Rev

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

Rev Author Line No. Line
3 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 - Администрирование - Редактирование пьянки</title>
3 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 - Администрирование - Редактирование пьянки</h1>
3 dev 18
 
19
<strutsx:errorsIterator id="errors" />
20
<strutsx:notEmpty name="errors">
10 dev 21
	<div class="error">Ошибки:
3 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/event/submit">
31
<backpath:current />
32
<html:hidden property="id" />
33
 
34
<table border=1>
35
	<tr>
10 dev 36
		<th>Название</th>
9 dev 37
		<td colspan=3><html:text property="name" /></td>
3 dev 38
    </tr>
39
	<tr>
19 dev 40
		<th>Контактный e-mail</th>
41
		<td colspan=3><html:text property="email" /></td>
42
    </tr>
43
	<tr>
44
		<th>Организаторы</th>
45
		<td colspan=3><html:text property="admins" /></td>
46
    </tr>
47
	<tr>
10 dev 48
		<th>Место/город</th>
9 dev 49
		<td colspan=3><html:text property="place" /></td>
3 dev 50
    </tr>
51
	<tr>
10 dev 52
		<th>Точный адрес</th>
9 dev 53
		<td colspan=3><html:textarea property="address" /></td>
3 dev 54
    </tr>
55
	<tr>
10 dev 56
		<th>Описание проезда</th>
9 dev 57
		<td colspan=3><html:textarea property="transport" /></td>
3 dev 58
    </tr>
59
	<tr>
10 dev 60
		<th>Начало</th>
9 dev 61
		<td colspan=3><html:text property="start" /></td>
3 dev 62
    </tr>
63
	<tr>
10 dev 64
		<th>Окончание</th>
9 dev 65
		<td colspan=3><html:text property="stop" /></td>
3 dev 66
    </tr>
67
	<tr>
10 dev 68
		<th>Дата окончания регистрации</th>
9 dev 69
		<td colspan=3><html:text property="lastreg" /></td>
3 dev 70
    </tr>
71
	<tr>
10 dev 72
		<th>Последний срок отказа</th>
9 dev 73
		<td colspan=3><html:text property="lastunreg" /></td>
3 dev 74
    </tr>
75
	<tr>
10 dev 76
		<th>Цена с человека</th>
9 dev 77
		<td colspan=3><html:text property="price" /></td>
3 dev 78
    </tr>
79
	<tr>
10 dev 80
		<th>Счет для перевода денег</th>
9 dev 81
		<td colspan=3><html:textarea property="account" /></td>
3 dev 82
    </tr>
83
	<tr>
19 dev 84
		<th>Открыть доступ</th>
9 dev 85
		<td colspan=3><html:checkbox property="enabled" /></td>
3 dev 86
    </tr>
87
	<tr>
10 dev 88
		<th>Описание</th>
9 dev 89
		<td colspan=3><html:textarea property="comment" /></td>
3 dev 90
    </tr>
91
 
9 dev 92
	<tr>
10 dev 93
		<th colspan=4>Планируемые мероприятия</th>
9 dev 94
    </tr>
95
	<tr>
10 dev 96
		<td>Название</td>
97
		<td>Включить</td>
98
		<td>Описание</td>
9 dev 99
		<td>&nbsp;</td>
100
    </tr>
3 dev 101
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
102
	<tr>
9 dev 103
		<th>
104
			<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' />
3 dev 105
			<html:hidden name="acts" property="actId" indexed="true" />
9 dev 106
		</th>
107
		<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
3 dev 108
		<td><html:text name="acts" property="comment" indexed="true" /></td>
9 dev 109
		<td>&nbsp;</td>
3 dev 110
	</tr>
111
</logic:iterate>
112
 
9 dev 113
	<tr>
10 dev 114
		<th colspan=4>Ближайшие гостиницы</th>
9 dev 115
    </tr>
116
	<tr>
10 dev 117
		<td>Название</td>
118
		<td>Включить</td>
119
		<td>Описание</td>
19 dev 120
		<td>Расстояние до местa (км)</td>
9 dev 121
    </tr>
122
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
123
	<tr>
124
		<th>
125
			<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
126
			<html:hidden name="apartments" property="apartmentId" indexed="true" />
127
		</th>
128
		<td><html:checkbox name="apartments" property="selected" indexed="true" /></td>
129
		<td><html:text name="apartments" property="comment" indexed="true" /></td>
130
		<td><html:text name="apartments" property="distance" indexed="true" /></td>
131
	</tr>
132
</logic:iterate>
133
 
3 dev 134
	<tr>
9 dev 135
		<td colspan=4>
10 dev 136
			<html:submit>Сохранить</html:submit>
16 dev 137
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
3 dev 138
		</td>
139
    </tr>
140
</table>
141
 
142
</html:form>
143
 
144
</body>
145
 
146
</html>