PageRenderTime 15ms CodeModel.GetById 13ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/library/common/new_folder.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 38 lines | 35 code | 3 blank | 0 comment | 2 complexity | 5972be4c40fdaae0adc5407d6ae88ffe MD5 | raw file
 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">Create a new folder</div>
17    <div class="toolFormBody">
18        <form name="folder" action="${h.url_for( controller='library_common', action='create_folder', cntrller=cntrller, parent_id=trans.security.encode_id( folder.id ), library_id=library_id, show_deleted=show_deleted )}" method="post" >
19            <div class="form-row">
20                <label>Name:</label>
21                <div style="float: left; width: 250px; margin-right: 10px;">
22                    <input type="text" name="name" value="New Folder" size="40"/>
23                </div>
24                <div style="clear: both"></div>
25            </div>
26            <div class="form-row">
27                <label>Description:</label>
28                <div style="float: left; width: 250px; margin-right: 10px;">
29                    <input type="text" name="description" value="" size="40"/>
30                </div>
31                <div style="clear: both"></div>
32            </div>
33            <div class="form-row">
34                <input type="submit" name="new_folder_button" value="Create"/>
35            </div>
36        </form>
37    </div>
38</div>