Subversion Repositories general

Rev

Rev 16 | Rev 975 | 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/apartment/submit">
31
<backpath:current />
32
<html:hidden property="id" />
33
 
972 dev 34
<table border=0 cellspacing=0 cellpadding=4>
35
	<tr class="even">
10 dev 36
		<th>Название</th>
972 dev 37
		<td><html:text property="name" style="width:100%" /></td>
3 dev 38
    </tr>
972 dev 39
	<tr class="odd">
10 dev 40
		<th>Адрес и телефоны</th>
972 dev 41
		<td><html:textarea property="address" cols="40" rows="8" style="width:200px;" /></td>
3 dev 42
    </tr>
972 dev 43
	<tr class="even">
10 dev 44
		<th>Цена ночевки на одного человека</th>
972 dev 45
		<td><html:text property="price" style="width:100%" /></td>
3 dev 46
    </tr>
972 dev 47
	<tr class="odd">
10 dev 48
		<th>URL домашней странички</th>
972 dev 49
		<td><html:text property="url" style="width:100%" /></td>
3 dev 50
    </tr>
972 dev 51
	<tr class="even">
10 dev 52
		<th>Описание</th>
972 dev 53
		<td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td>
3 dev 54
    </tr>
55
	<tr>
56
		<td colspan=2>
10 dev 57
			<html:submit>Сохранить</html:submit>
16 dev 58
			<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
3 dev 59
		</td>
60
    </tr>
61
</table>
62
 
63
</html:form>
64
 
65
</body>
66
 
67
</html>