0,0 → 1,154 |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
<html> |
|
<head> |
<meta http-equiv="expires" content="0"> |
<title>Пьянка XP - <bean:write name="event" property="name" /> - Редактирование</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
</head> |
|
<body> |
|
<%@ include file="/header.jsp" %> |
|
<strutsx:errorsIterator id="errors" /> |
<strutsx:notEmpty name="errors"> |
<div class="error">Ошибки: |
<ul> |
<logic:iterate name="errors" id="error"> |
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
</logic:iterate> |
</ul> |
</div> |
</strutsx:notEmpty> |
|
<html:form action="/participant/update"> |
<html:hidden property="event" /> |
<html:hidden property="ident" /> |
|
<table border=0 cellspacing=0 cellpadding=4 width=860> |
<tr> |
<td colspan=3><div class="smallHeader">Идентификация</div></td> |
</tr> |
<tr> |
<th>Ваш номер</th> |
<td colspan=2><bean:write name="participant" property="ident" /></td> |
</tr> |
<tr> |
<th>Ник на форуме</th> |
<td colspan=2><bean:write name="participant" property="nick" /></td> |
</tr> |
<tr> |
<th>Ваш e-mail</th> |
<td colspan=2><bean:write name="participant" property="email" /></td> |
</tr> |
<tr> |
<th>Разрешить показ e-mail'а</th> |
<td colspan=2><html:checkbox property="emailPublic" /></td> |
</tr> |
<tr> |
<th>Сколько вас</th> |
<td colspan=2><html:text property="persons" style="width:240px" maxlength="10" /></td> |
</tr> |
|
<tr> |
<td colspan=3><div class="smallHeader">Если берете попутчиков</div></td> |
</tr> |
<tr> |
<th>Выезд из PLZ</th> |
<td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td> |
</tr> |
<tr> |
<th>Выезд из города</th> |
<td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td> |
</tr> |
<tr> |
<th>Время отправления</th> |
<td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td> |
</tr> |
<tr> |
<th>Свободных мест в машине</th> |
<td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td> |
</tr> |
<tr> |
<th>Условия транспортировки</th> |
<td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td> |
</tr> |
|
<tr> |
<td colspan=3> |
<div class="smallHeader">Для живущих в месте проведения</div> |
Если вы можете приютить приезжих |
</td> |
</tr> |
<tr> |
<th>Свободных спальных мест</th> |
<td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td> |
</tr> |
<tr> |
<th>Условия ночевки</th> |
<td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td> |
</tr> |
|
<tr> |
<td colspan=3> |
<div class="smallHeader">Контактная информация</div> |
Если вы согласны взять попутчиков или пустить переночевать, то |
укажите, как с вами связаться |
</td> |
</tr> |
<tr> |
<th>Ваше имя</th> |
<td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td> |
</tr> |
<tr> |
<th>Телефон</th> |
<td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td> |
</tr> |
<tr> |
<th>Переведено и получено, евро</th> |
<td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td> |
</tr> |
<tr> |
<th>Дополнительная информация</th> |
<td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td> |
</tr> |
|
<logic:notEmpty name="actList" property="objects"> |
<tr> |
<th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th> |
</tr> |
<tr> |
<th>Название</th> |
<th>Включить</th> |
<th>Дополнительно</th> |
</tr> |
<logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid"> |
<tr> |
<td> |
<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
<html:hidden name="acts" property="actId" indexed="true" /> |
</td> |
<td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
<td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td> |
</tr> |
</logic:iterate> |
</logic:notEmpty> |
|
<tr> |
<td colspan=3><html:image page="/images/save.gif" alt="Сохранить" /></td> |
</tr> |
</table> |
|
</html:form> |
|
<%@ include file="/footer.jsp" %> |
|
</body> |
|
</html> |