PageRenderTime 122ms CodeModel.GetById 71ms app.highlight 1ms RepoModel.GetById 49ms app.codeStats 0ms

/django/contrib/admin/templates/mako/admin/actions.html

https://code.google.com/p/mango-py/
HTML | 27 lines | 25 code | 2 blank | 0 comment | 0 complexity | 61f65ae4694bc001684c026628714206 MD5 | raw file
 1<%def name="admin_actions(action_form)" >
 2
 3<div class="actions">
 4    % for field in action_form:
 5        % if field.label:
 6            <label>${ field.label }
 7        % endif
 8        ${ field }
 9        % if field.label:
10            </label>
11        % endif
12    % endfor
13    <button type="submit" class="button" title="${ trans('Run the selected action') }" name="index" value="${ action_index or 0 }">${ trans("Go") }</button>
14    % if actions_selection_counter:
15        <script type="text/javascript">var _actions_icnt="${ len(cl.result_list) or '0' }";</script>
16        <span class="action-counter">${ selection_note }</span>
17        % if cl.result_count != len(cl.result_list):
18        <span class="all">${ selection_note_all }</span>
19        <span class="question">
20            <a href="javascript:;" title="${ trans("Click here to select the objects across all pages")}">Select all ${ cl.result_count } ${ module_name }</a>
21        </span>
22        <span class="clear"><a href="javascript:;">${ trans("Clear selection") }</a></span>
23        % endif
24    % endif
25</div>
26
27</%def>