1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | <br/><br/> |
---|
5 | <ul class="manage-table-actions"> |
---|
6 | <li> |
---|
7 | <a class="action-button" href="${h.url_for( controller='library_common', action='browse_library', cntrller=cntrller, id=library_id, use_panels=use_panels, show_deleted=show_deleted )}"><span>Browse this data library</span></a> |
---|
8 | </li> |
---|
9 | </ul> |
---|
10 | |
---|
11 | %if message: |
---|
12 | ${render_msg( message, status )} |
---|
13 | %endif |
---|
14 | |
---|
15 | <div class="toolForm"> |
---|
16 | <div class="toolFormTitle">Edit the template for the ${item_desc} '${item_name}'</div> |
---|
17 | <form id="edit_template" name="edit_template" action="${h.url_for( controller='library_common', action='edit_template', cntrller=cntrller, item_type=item_type, library_id=library_id, folder_id=folder_id, ldda_id=ldda_id, use_panels=use_panels, show_deleted=show_deleted )}" method="post" > |
---|
18 | <div class="toolFormBody"> |
---|
19 | %for i, field in enumerate( widgets ): |
---|
20 | <div class="form-row"> |
---|
21 | <label>${field[ 'label' ]}</label> |
---|
22 | ${field[ 'widget' ].get_html()} |
---|
23 | <div class="toolParamHelp" style="clear: both;"> |
---|
24 | ${field[ 'helptext' ]} |
---|
25 | </div> |
---|
26 | <div style="clear: both"></div> |
---|
27 | </div> |
---|
28 | %endfor |
---|
29 | <div style="clear: both"></div> |
---|
30 | <div class="form-row"> |
---|
31 | <input type="submit" name="edit_template_button" value="Save"/> |
---|
32 | </div> |
---|
33 | </div> |
---|
34 | </form> |
---|
35 | </div> |
---|