浏览代码

Do not show siblings for create

Denis K 8 年之前
父节点
当前提交
9f3632447f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jet/templates/admin/change_form.html

+ 1 - 1
jet/templates/admin/change_form.html

@@ -30,7 +30,7 @@
 {% block content %}
     <div id="content-main">
         {% jet_change_form_sibling_links_enabled as show_siblings %}
-        {% if show_siblings %}
+        {% if change and show_siblings %}
             <div class="changeform-navigation">
                 {% spaceless %}
                     {% jet_previous_object_url as url %}