Skip to content

Commit

Permalink
#334 Add empty div for amend workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
viliambalaz committed Jan 12, 2022
1 parent d8f0ff2 commit b5af447
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{% extends "admin/delete_confirmation.html" %}
{% load amend before from poleno.amend %}
{% load amend before after from poleno.amend %}

{% block content %}
{% amend %}
{{ block.super }}
{% after path="./ul[last()]" %}
<div></div>
{% endafter %}
{% before path=".//form//input[@type='submit']" %}
{% include "utils/admin/bulk_delete_mixin.html" %}
{% endbefore %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{% extends "admin/delete_selected_confirmation.html" %}
{% load amend before from poleno.amend %}
{% load amend before after from poleno.amend %}

{% block content %}
{% amend %}
{{ block.super }}
{% after path="./ul[last()]" %}
<div></div>
{% endafter %}
{% before path=".//form//input[@type='submit']" %}
{% include "utils/admin/bulk_delete_mixin.html" %}
{% endbefore %}
Expand Down

0 comments on commit b5af447

Please sign in to comment.