Rev 10 | Rev 16 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10 | Rev 13 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
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>Пьянка XP - Администрирование - Редактирование мероприятия</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>Пьянка XP - Администрирование - Редактирование мероприятия</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">Ошибки: |
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 | <html:form action="/admin/act/submit"> |
30 | <html:form action="/admin/act/submit"> |
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>Название</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>Описание</th> |
40 | <th>Описание</th> |
41 | <td><html:textarea property="comment" /></td> |
41 | <td><html:textarea property="comment" /></td> |
42 | </tr> |
42 | </tr> |
43 | <tr> |
43 | <tr> |
44 | <td colspan=2> |
44 | <td colspan=2> |
45 | <html:submit>Сохранить</html:submit> |
45 | <html:submit>Сохранить</html:submit> |
46 | <backpath:backlink>Отменить</backpath:backlink> |
46 | <backpath:backlink>Отменить</backpath:backlink> |
47 | </td> |
47 | </td> |
48 | </tr> |
48 | </tr> |
49 | </table> |
49 | </table> |
50 | 50 | ||
51 | </html:form> |
51 | </html:form> |
52 | 52 | ||
53 | </body> |
53 | </body> |
54 | 54 | ||
55 | </html> |
55 | </html> |