Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | 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 apartment</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 apartment</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><html:text property="name" /></td> |
37 | <td><html:text property="name" /></td> |
38 | </tr> |
38 | </tr> |
39 | <tr> |
39 | <tr> |
40 | <th>Address</th> |
40 | <th>Адрес и телефоны</th> |
41 | <td><html:textarea property="address" /></td> |
41 | <td><html:textarea property="address" /></td> |
42 | </tr> |
42 | </tr> |
43 | <tr> |
43 | <tr> |
44 | <th>Price</th> |
44 | <th>Цена ночевки на одного человека</th> |
45 | <td><html:text property="price" /></td> |
45 | <td><html:text property="price" /></td> |
46 | </tr> |
46 | </tr> |
47 | <tr> |
47 | <tr> |
48 | <th>URL</th> |
48 | <th>URL домашней странички</th> |
49 | <td><html:text property="url" /></td> |
49 | <td><html:text property="url" /></td> |
50 | </tr> |
50 | </tr> |
51 | <tr> |
51 | <tr> |
52 | <th>Comment</th> |
52 | <th>Описание</th> |
53 | <td><html:textarea property="comment" /></td> |
53 | <td><html:textarea property="comment" /></td> |
54 | </tr> |
54 | </tr> |
55 | <tr> |
55 | <tr> |
56 | <td colspan=2> |
56 | <td colspan=2> |
57 | <html:submit>Submit</html:submit> |
57 | <html:submit>Сохранить</html:submit> |
58 | <backpath:backlink>Back</backpath:backlink> |
58 | <backpath:backlink>Отменить</backpath:backlink> |
59 | </td> |
59 | </td> |
60 | </tr> |
60 | </tr> |
61 | </table> |
61 | </table> |
62 | 62 | ||
63 | </html:form> |
63 | </html:form> |