Skip to content

Simplify add_type_form.html #38

@BertrandBordage

Description

@BertrandBordage

Rendering is broken when using django-grappelli:

Current grappelli rendering

Simplifying add_type_form.html fixes it. With only this and nothing else:

{% extends "admin/change_form.html" %}

{% block submit_buttons_bottom %}
  {% include 'admin/submit_line.html' with show_save=True %}
{% endblock %}

we get:
Expected grappelli rendering

It also works perfectly without grappelli:
Expected default rendering

If this change is OK, I'll make a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions