1 | <%inherit file="/base.mako"/> |
---|
2 | <%def name="title()">${_('Rename History')}</%def> |
---|
3 | |
---|
4 | <div class="toolForm"> |
---|
5 | <div class="toolFormTitle">${_('Rename')}</div> |
---|
6 | <div class="toolFormBody"> |
---|
7 | <form action="${h.url_for( controller='history', action='rename' )}" method="post" > |
---|
8 | <div class="form-row"> |
---|
9 | <table> |
---|
10 | <thead> |
---|
11 | <tr> |
---|
12 | <th>${_('Current Name')}</th> |
---|
13 | <th>${_('New Name')}</th> |
---|
14 | </tr> |
---|
15 | </thead> |
---|
16 | <tbody> |
---|
17 | %for history in histories: |
---|
18 | <tr> |
---|
19 | <td> |
---|
20 | <input type="hidden" name="id" value="${trans.security.encode_id( history.id )}"> |
---|
21 | ${history.get_display_name() | h} |
---|
22 | </td> |
---|
23 | <td> |
---|
24 | <input type="text" name="name" value="${history.get_display_name() | h}" size="40"> |
---|
25 | </td> |
---|
26 | </tr> |
---|
27 | %endfor |
---|
28 | </tbody> |
---|
29 | <tr> |
---|
30 | <td colspan="2"> |
---|
31 | <input type="submit" name="history_rename_btn" value="${_('Rename Histories')}"> |
---|
32 | </td> |
---|
33 | </tr> |
---|
34 | </table> |
---|
35 | </div> |
---|
36 | </form> |
---|
37 | </div> |
---|
38 | </div> |
---|