Skip to content

Delete button on Edit/Detail view #1327

@lucasvo

Description

@lucasvo

We've been moving our admin backend from an old outdated version of superadmin to the most recent version of flask-admin and started customizing a few things to make life easier on the people using our admin interface. One feature I was surprised to see missing from flask-admin was a delete button on the edit and/or detail view.

A common use case for this is: someone sends you a link straight to an edit view in the admin. You now want to delete this object. You need to navigate to the list view, then look for the object again to be able to delete it.

For now I've implemented this with a macro that fires a similar event as the delete button in the list view. I'd much rather see an implementation though that has this built into the ModelView. What are your thoughts on this?

I'd be open to overhauling my implementation and build something that can be shipped to everyone. If you agree on the usefulness of this feature.

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