Rev 975 | Rev 980 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
979 | dev | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
||
3 | dev | 3 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
4 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
5 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
6 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
7 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
||
8 | <html> |
||
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
10 | dev | 12 | <title>Пьянка XP - Администрирование - Редактирование гостиницы</title> |
3 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
||
15 | |||
16 | <body> |
||
17 | |||
10 | dev | 18 | <h1>Пьянка XP - Администрирование - Редактирование гостиницы</h1> |
3 | dev | 19 | |
20 | <strutsx:errorsIterator id="errors" /> |
||
21 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 22 | <div class="error">Ошибки: |
3 | dev | 23 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
30 | |||
31 | <html:form action="/admin/apartment/submit"> |
||
32 | <backpath:current /> |
||
33 | <html:hidden property="id" /> |
||
34 | |||
972 | dev | 35 | <table border=0 cellspacing=0 cellpadding=4> |
36 | <tr class="even"> |
||
10 | dev | 37 | <th>Название</th> |
975 | dev | 38 | <td><html:text property="name" style="width:100%" maxlength="255" /></td> |
3 | dev | 39 | </tr> |
972 | dev | 40 | <tr class="odd"> |
10 | dev | 41 | <th>Адрес и телефоны</th> |
972 | dev | 42 | <td><html:textarea property="address" cols="40" rows="8" style="width:200px;" /></td> |
3 | dev | 43 | </tr> |
972 | dev | 44 | <tr class="even"> |
10 | dev | 45 | <th>Цена ночевки на одного человека</th> |
975 | dev | 46 | <td><html:text property="price" style="width:100%" maxlength="10" /></td> |
3 | dev | 47 | </tr> |
972 | dev | 48 | <tr class="odd"> |
10 | dev | 49 | <th>URL домашней странички</th> |
975 | dev | 50 | <td><html:text property="url" style="width:100%" maxlength="4000" /></td> |
3 | dev | 51 | </tr> |
972 | dev | 52 | <tr class="even"> |
10 | dev | 53 | <th>Описание</th> |
972 | dev | 54 | <td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td> |
3 | dev | 55 | </tr> |
56 | <tr> |
||
57 | <td colspan=2> |
||
10 | dev | 58 | <html:submit>Сохранить</html:submit> |
16 | dev | 59 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
3 | dev | 60 | </td> |
61 | </tr> |
||
62 | </table> |
||
63 | |||
64 | </html:form> |
||
65 | |||
975 | dev | 66 | <%@ include file="/admin/footer.jsp" %> |
67 | |||
3 | dev | 68 | </body> |
69 | |||
70 | </html> |