diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-15 20:20:09 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-15 20:20:09 -0500 |
commit | 6c5a2ba002d78322febfc404ad76b77bcee3986f (patch) | |
tree | b582fba6ba8a544bdf7d3e596c8749ba81293f00 /design/templates/admin/photos/luximage | |
parent | add815989f3f67a6cd992367c9e93e0104ce4167 (diff) |
added next prev buttons to image admin for faster editing
Diffstat (limited to 'design/templates/admin/photos/luximage')
-rw-r--r-- | design/templates/admin/photos/luximage/change_form.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/design/templates/admin/photos/luximage/change_form.html b/design/templates/admin/photos/luximage/change_form.html index 4f0b629..9344372 100644 --- a/design/templates/admin/photos/luximage/change_form.html +++ b/design/templates/admin/photos/luximage/change_form.html @@ -38,7 +38,10 @@ </ul> {% endif %}{% endif %} {% endblock %} - +<ul style="padding-left: 0;"> + {%if original.get_previous_admin_url %}<li style="display: inline-block;"><a href="{{original.get_previous_admin_url}}">« prev</a></li>{%endif%} | + {%if original.get_next_admin_url %}<li style="display: inline-block;"><a href="{{original.get_next_admin_url}}">next »</a></li>{%endif%} +</ul> <form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.model_name }}_form" novalidate>{% csrf_token %}{% block form_top %}{% endblock %} <div> {% if is_popup %}<input type="hidden" name="{{ is_popup_var }}" value="1" />{% endif %} |