Subversion Repositories general

Rev

Rev 9 | Rev 13 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 10
Line 6... Line 6...
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 event</title>
11
	<title>Пьянка XP - Администрирование - Редактирование пьянки</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 event</h1>
17
<h1>Пьянка XP - Администрирование - Редактирование пьянки</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>
Line 31... Line 31...
31
<backpath:current />
31
<backpath:current />
32
<html:hidden property="id" />
32
<html:hidden property="id" />
33
 
33
 
34
<table border=1>
34
<table border=1>
35
	<tr>
35
	<tr>
36
		<th>Name</th>
36
		<th>Название</th>
37
		<td colspan=3><html:text property="name" /></td>
37
		<td colspan=3><html:text property="name" /></td>
38
    </tr>
38
    </tr>
39
	<tr>
39
	<tr>
40
		<th>Place</th>
40
		<th>Место/город</th>
41
		<td colspan=3><html:text property="place" /></td>
41
		<td colspan=3><html:text property="place" /></td>
42
    </tr>
42
    </tr>
43
	<tr>
43
	<tr>
44
		<th>Address</th>
44
		<th>Точный адрес</th>
45
		<td colspan=3><html:textarea property="address" /></td>
45
		<td colspan=3><html:textarea property="address" /></td>
46
    </tr>
46
    </tr>
47
	<tr>
47
	<tr>
48
		<th>Transport Description</th>
48
		<th>Описание проезда</th>
49
		<td colspan=3><html:textarea property="transport" /></td>
49
		<td colspan=3><html:textarea property="transport" /></td>
50
    </tr>
50
    </tr>
51
	<tr>
51
	<tr>
52
		<th>Start</th>
52
		<th>Начало</th>
53
		<td colspan=3><html:text property="start" /></td>
53
		<td colspan=3><html:text property="start" /></td>
54
    </tr>
54
    </tr>
55
	<tr>
55
	<tr>
56
		<th>Stop</th>
56
		<th>Окончание</th>
57
		<td colspan=3><html:text property="stop" /></td>
57
		<td colspan=3><html:text property="stop" /></td>
58
    </tr>
58
    </tr>
59
	<tr>
59
	<tr>
60
		<th>Last registration</th>
60
		<th>Дата окончания регистрации</th>
61
		<td colspan=3><html:text property="lastreg" /></td>
61
		<td colspan=3><html:text property="lastreg" /></td>
62
    </tr>
62
    </tr>
63
	<tr>
63
	<tr>
64
		<th>Last unregistration</th>
64
		<th>Последний срок отказа</th>
65
		<td colspan=3><html:text property="lastunreg" /></td>
65
		<td colspan=3><html:text property="lastunreg" /></td>
66
    </tr>
66
    </tr>
67
	<tr>
67
	<tr>
68
		<th>Price per person</th>
68
		<th>Цена с человека</th>
69
		<td colspan=3><html:text property="price" /></td>
69
		<td colspan=3><html:text property="price" /></td>
70
    </tr>
70
    </tr>
71
	<tr>
71
	<tr>
72
		<th>Account to transfer money</th>
72
		<th>Счет для перевода денег</th>
73
		<td colspan=3><html:textarea property="account" /></td>
73
		<td colspan=3><html:textarea property="account" /></td>
74
    </tr>
74
    </tr>
75
	<tr>
75
	<tr>
76
		<th>Enabled</th>
76
		<th>Разрешить регистрацию</th>
77
		<td colspan=3><html:checkbox property="enabled" /></td>
77
		<td colspan=3><html:checkbox property="enabled" /></td>
78
    </tr>
78
    </tr>
79
	<tr>
79
	<tr>
80
		<th>Comment</th>
80
		<th>Описание</th>
81
		<td colspan=3><html:textarea property="comment" /></td>
81
		<td colspan=3><html:textarea property="comment" /></td>
82
    </tr>
82
    </tr>
83
 
83
 
84
	<tr>
84
	<tr>
85
		<th colspan=4>Acts for the event</th>
85
		<th colspan=4>Планируемые мероприятия</th>
86
    </tr>
86
    </tr>
87
	<tr>
87
	<tr>
88
		<td>Name</td>
88
		<td>Название</td>
89
		<td>Include</td>
89
		<td>Включить</td>
90
		<td>Comment</td>
90
		<td>Описание</td>
91
		<td>&nbsp;</td>
91
		<td>&nbsp;</td>
92
    </tr>
92
    </tr>
93
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
93
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
94
	<tr>
94
	<tr>
95
		<th>
95
		<th>
Line 101... Line 101...
101
		<td>&nbsp;</td>
101
		<td>&nbsp;</td>
102
	</tr>
102
	</tr>
103
</logic:iterate>
103
</logic:iterate>
104
 
104
 
105
	<tr>
105
	<tr>
106
		<th colspan=4>Apartment for the event</th>
106
		<th colspan=4>Ближайшие гостиницы</th>
107
    </tr>
107
    </tr>
108
	<tr>
108
	<tr>
109
		<td>Name</td>
109
		<td>Название</td>
110
		<td>Include</td>
110
		<td>Включить</td>
111
		<td>Comment</td>
111
		<td>Описание</td>
112
		<td>Distance</td>
112
		<td>Расстояние до место (км)</td>
113
    </tr>
113
    </tr>
114
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
114
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
115
	<tr>
115
	<tr>
116
		<th>
116
		<th>
117
			<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
117
			<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
Line 123... Line 123...
123
	</tr>
123
	</tr>
124
</logic:iterate>
124
</logic:iterate>
125
 
125
 
126
	<tr>
126
	<tr>
127
		<td colspan=4>
127
		<td colspan=4>
128
			<html:submit>Submit</html:submit>
128
			<html:submit>Сохранить</html:submit>
129
			<backpath:backlink>Back</backpath:backlink>
129
			<backpath:backlink>Отменить</backpath:backlink>
130
		</td>
130
		</td>
131
    </tr>
131
    </tr>
132
</table>
132
</table>
133
 
133
 
134
</html:form>
134
</html:form>