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>Apartments</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>Apartments</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> |
27 | </div> |
27 | </div> |
28 | </strutsx:notEmpty> |
28 | </strutsx:notEmpty> |
29 | 29 | ||
30 | <table border=1> |
30 | <table border=1> |
31 | <tr> |
31 | <tr> |
32 | <th>Name</th> |
32 | <th>Название</th> |
33 | <th> </th> |
33 | <th> </th> |
34 | <th> </th> |
34 | <th> </th> |
35 | </tr> |
35 | </tr> |
36 | 36 | ||
37 | <logic:iterate name="apartments" id="a"> |
37 | <logic:iterate name="apartments" id="a"> |
38 | <tr> |
38 | <tr> |
39 | <td><bean:write name="a" property="name" /></td> |
39 | <td><bean:write name="a" property="name" /></td> |
40 | <td> |
40 | <td> |
41 | <backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id">edit</backpath:link> |
41 | <backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id">редактировать</backpath:link> |
42 | </td> |
42 | </td> |
43 | <td> |
43 | <td> |
44 | <backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id">delete</backpath:link> |
44 | <backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id">удалить</backpath:link> |
45 | </td> |
45 | </td> |
46 | </tr> |
46 | </tr> |
47 | </logic:iterate> |
47 | </logic:iterate> |
48 | </table> |
48 | </table> |
49 | 49 | ||
50 | <backpath:link action="/admin/apartment/edit">Add new apartment</backpath:link> |
50 | <backpath:link action="/admin/apartment/edit">Добавить гостиницу</backpath:link> |
51 | <br> |
51 | <br> |
52 | <backpath:backlink>Back</backpath:backlink> |
52 | <backpath:backlink>Назад</backpath:backlink> |
53 | 53 | ||
54 | </body> |
54 | </body> |
55 | 55 | ||
56 | </html> |
56 | </html> |