/django/contrib/admin/templates/mako/admin/actions.html
HTML | 27 lines | 25 code | 2 blank | 0 comment | 0 complexity | 61f65ae4694bc001684c026628714206 MD5 | raw file
Possible License(s): BSD-3-Clause
- <%def name="admin_actions(action_form)" >
- <div class="actions">
- % for field in action_form:
- % if field.label:
- <label>${ field.label }
- % endif
- ${ field }
- % if field.label:
- </label>
- % endif
- % endfor
- <button type="submit" class="button" title="${ trans('Run the selected action') }" name="index" value="${ action_index or 0 }">${ trans("Go") }</button>
- % if actions_selection_counter:
- <script type="text/javascript">var _actions_icnt="${ len(cl.result_list) or '0' }";</script>
- <span class="action-counter">${ selection_note }</span>
- % if cl.result_count != len(cl.result_list):
- <span class="all">${ selection_note_all }</span>
- <span class="question">
- <a href="javascript:;" title="${ trans("Click here to select the objects across all pages")}">Select all ${ cl.result_count } ${ module_name }</a>
- </span>
- <span class="clear"><a href="javascript:;">${ trans("Clear selection") }</a></span>
- % endif
- % endif
- </div>
- </%def>