PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/admin/requests/reject.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 36 lines | 34 code | 2 blank | 0 comment | 2 complexity | 30d6716e844552fa2f846d796424dac2 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<br/><br/>
 8<ul class="manage-table-actions">
 9    <li>
10        <a class="action-button" href="${h.url_for( controller='requests_common', action='view_request_history', cntrller=cntrller, id=trans.security.encode_id(request.id) )}">View history</a>
11    </li>
12    <li>
13        <a class="action-button" href="${h.url_for( controller='requests_common', action='view_request', cntrller=cntrller, id=trans.security.encode_id(request.id) )}">Browse this request</a>
14    </li>
15</ul>
16
17<div class="toolForm">
18    <div class="toolFormTitle">Reject sequencing request "${request.name}"</div>
19        <form name="event" action="${h.url_for( controller='requests_admin', action='reject_request', id=trans.security.encode_id( request.id ) )}" method="post" >
20            <div class="form-row">
21                Rejecting this request will move the request state to <b>Rejected</b>.
22            </div>
23            <div class="form-row">
24                <label>Comments</label>
25                <textarea name="comment" rows="5" cols="40"></textarea>
26                <div class="toolParamHelp" style="clear: both;">
27                    Required
28                </div>
29            </div>
30            <div class="form-row">
31                <input type="submit" name="reject_button" value="Reject"/>
32                <input type="submit" name="cancel_reject_button" value="Cancel"/>
33            </div>
34        </form>
35    </div>
36</div>