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

/templates/admin/library/new_library.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 44 lines | 42 code | 2 blank | 0 comment | 2 complexity | 31f418d5c1470251b93762d0e4c82f0c MD5 | raw file
 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">Create a new data library</div>
10    <div class="toolFormBody">
11        <form name="library" action="${h.url_for( controller='library_admin', action='create_library' )}" 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="New data library" 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 type="text" name="description" value="" size="40"/>
23                </div>
24                <div class="toolParamHelp" style="clear: both;">
25                    Displayed when browsing all libraries
26                </div>
27                <div style="clear: both"></div>
28            </div>
29            <div class="form-row">
30                <label>Synopsis:</label>
31                <div style="float: left; width: 250px; margin-right: 10px;">
32                    <input type="text" name="synopsis" value="" size="40"/>
33                </div>
34                <div class="toolParamHelp" style="clear: both;">
35                    Displayed when browsing this library
36                </div>
37                <div style="clear: both"></div>
38            </div>
39            <div class="form-row">
40                <input type="submit" name="create_library_button" value="Create"/>
41            </div>
42        </form>
43    </div>
44</div>