diff options
author | luxagraf <sng@luxagraf.net> | 2017-01-01 17:05:13 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-01-01 17:05:13 -0500 |
commit | 28326ead44ca96beaab45da7976b488c156ca0f2 (patch) | |
tree | fbeccef4125af97d3f09f9215b24d2f77959c834 /design | |
parent | 837a5a7382c2a1260d6d208a3ce2c6be815c1e7d (diff) |
added prev and next links to jrnl change form
Diffstat (limited to 'design')
-rw-r--r-- | design/templates/admin/jrnl/change_form.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/design/templates/admin/jrnl/change_form.html b/design/templates/admin/jrnl/change_form.html index 880e9c9..e3edae0 100644 --- a/design/templates/admin/jrnl/change_form.html +++ b/design/templates/admin/jrnl/change_form.html @@ -67,6 +67,10 @@ $(function(){ </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 %} |