1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | %if message: |
---|
5 | ${render_msg( message, status )} |
---|
6 | %endif |
---|
7 | |
---|
8 | <div class="toolForm"> |
---|
9 | <div class="toolFormTitle">Change category name and description</div> |
---|
10 | <div class="toolFormBody"> |
---|
11 | <form name="library" action="${h.url_for( controller='admin', action='edit_category' )}" method="post" > |
---|
12 | <div class="form-row"> |
---|
13 | <label>Name:</label> |
---|
14 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
15 | <input type="text" name="name" value="${category.name}" size="40"/> |
---|
16 | </div> |
---|
17 | <div style="clear: both"></div> |
---|
18 | </div> |
---|
19 | <div class="form-row"> |
---|
20 | <label>Description:</label> |
---|
21 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
22 | <input name="description" type="textfield" value="${category.description}" size=40"/> |
---|
23 | </div> |
---|
24 | <div style="clear: both"></div> |
---|
25 | </div> |
---|
26 | <div class="form-row"> |
---|
27 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
28 | <input type="hidden" name="rename" value="submitted"/> |
---|
29 | </div> |
---|
30 | <div style="clear: both"></div> |
---|
31 | </div> |
---|
32 | <div class="form-row"> |
---|
33 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
34 | <input type="hidden" name="id" value="${trans.security.encode_id( category.id )}"/> |
---|
35 | </div> |
---|
36 | <div style="clear: both"></div> |
---|
37 | </div> |
---|
38 | <div class="form-row"> |
---|
39 | <input type="submit" name="edit_category_button" value="Save"/> |
---|
40 | </div> |
---|
41 | </form> |
---|
42 | </div> |
---|
43 | </div> |
---|