Subversion Repositories general

Rev

Rev 23 | Rev 975 | 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">
972 dev 13
	<script>
14
		function confirmUnregister()
15
		{
16
			return confirm("Вы уверены, что хотите удалить вашу информацию?");
17
		}
18
	</script>
19 dev 19
</head>
20
 
21
<body>
22
 
23
<h1>Пьянка XP - <bean:write name="event" property="name" /> - Идентификация</h1>
24
 
25
<strutsx:errorsIterator id="errors" />
26
<strutsx:notEmpty name="errors">
27
	<div class="error">Ошибки:
28
		<ul>
29
		<logic:iterate name="errors" id="error">
30
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
31
		</logic:iterate>
32
		</ul>
33
	</div>
34
</strutsx:notEmpty>
35
 
36
<h2>Изменение данных регистрации</h2>
37
 
38
<html:form action="/participant/login" method="GET">
39
<backpath:current />
40
<input type=hidden name="event" value="<bean:write name="event" property="id" />">
41
<table border=1>
42
	<tr>
43
		<th>Ваш номер</th>
44
		<td><html:text property="ident" /></td>
45
    </tr>
46
	<tr>
47
		<td colspan=2><html:submit>Перейти к изменению</html:submit></td>
48
    </tr>
49
</table>
50
</html:form>
51
 
52
<h2>Отказ от регистрации</h2>
53
 
23 dev 54
<logic:equal name="event" property="unregistrationAvailable" value="true">
972 dev 55
	<html:form action="/participant/unregister" onsubmit="return confirmUnregister();">
21 dev 56
	<backpath:current />
57
	<input type=hidden name="event" value="<bean:write name="event" property="id" />">
58
	<table border=1>
59
		<tr>
60
			<th>Ваш номер</th>
61
			<td><html:text property="ident" /></td>
62
	    </tr>
63
		<tr>
64
			<td colspan=2><html:submit>Я не еду</html:submit></td>
65
	    </tr>
66
	</table>
67
	</html:form>
68
</logic:equal>
23 dev 69
<logic:equal name="event" property="unregistrationAvailable" value="true">
21 dev 70
	<p>Срок отказа от регистрации прошел.</p>
71
</logic:equal>
19 dev 72
 
73
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
74
 
75
</body>
76
 
77
</html>