diff options
| -rw-r--r-- | django/views/admin/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/admin/main.py b/django/views/admin/main.py index a6109a46cd..9283230b26 100644 --- a/django/views/admin/main.py +++ b/django/views/admin/main.py @@ -523,7 +523,7 @@ def _get_submit_row_template(opts, app_label, add, change, show_delete, ordered_ if not opts.admin.save_as or add: t.append('{%% if not is_popup %%}<input type="submit" value="Save and add another" name="_addanother" %s/>{%% endif %%}' % \ (ordered_objects and change and 'onclick="submitOrderForm();"' or '')) - t.append('<input type="submit" value="Save and continue editing" name="_continue" %s/>' % \ + t.append('{%% if not is_popup %%}<input type="submit" value="Save and continue editing" name="_continue" %s/>{%% endif %%}' % \ (ordered_objects and change and 'onclick="submitOrderForm();"' or '')) t.append('<input type="submit" value="Save" class="default" %s/>' % \ (ordered_objects and change and 'onclick="submitOrderForm();"' or '')) |
