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 role name and description</div> |
---|
10 | <div class="toolFormBody"> |
---|
11 | <form name="library" action="${h.url_for( controller='admin', action='rename_role' )}" method="post" > |
---|
12 | <div class="form-row"> |
---|
13 | <input name="webapp" type="hidden" value="${webapp}" size=40"/> |
---|
14 | <label>Name:</label> |
---|
15 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
16 | <input type="text" name="name" value="${role.name}" size="40"/> |
---|
17 | </div> |
---|
18 | <div style="clear: both"></div> |
---|
19 | </div> |
---|
20 | <div class="form-row"> |
---|
21 | <label>Description:</label> |
---|
22 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
23 | <input name="description" type="textfield" value="${role.description}" size=40"/> |
---|
24 | </div> |
---|
25 | <div style="clear: both"></div> |
---|
26 | </div> |
---|
27 | <div class="form-row"> |
---|
28 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
29 | <input type="hidden" name="rename" value="submitted"/> |
---|
30 | </div> |
---|
31 | <div style="clear: both"></div> |
---|
32 | </div> |
---|
33 | <div class="form-row"> |
---|
34 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
35 | <input type="hidden" name="id" value="${trans.security.encode_id( role.id )}"/> |
---|
36 | </div> |
---|
37 | <div style="clear: both"></div> |
---|
38 | </div> |
---|
39 | <div class="form-row"> |
---|
40 | <input type="submit" name="rename_role_button" value="Save"/> |
---|
41 | </div> |
---|
42 | </form> |
---|
43 | </div> |
---|
44 | </div> |
---|