diff options
Diffstat (limited to 'lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html')
-rw-r--r-- | lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html b/lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html new file mode 100644 index 0000000..e0fcf2a --- /dev/null +++ b/lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html @@ -0,0 +1,9 @@ +{% url admin-tools-menu-add-bookmark as form_url %} +{% if form_url %} + <form id="bookmark-form" action="{{ form_url }}" method="POST"> + <input type="hidden" name="next" value="{% firstof url request.get_full_path|urlencode %}" /> + <input type="hidden" name="url" value="{% firstof url request.get_full_path|urlencode %}" /> + <input type="hidden" name="title" value="{{ title }}" /> + <button id="bookmark-button" type="submit"></button> + </form> +{% endif %} |