Skip to content

Commit

Permalink
Fixing regression of multiple save options being rendered on revision…
Browse files Browse the repository at this point in the history
… and recover form.
  • Loading branch information
etianen committed Aug 7, 2015
1 parent b601f88 commit 9b30032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reversion/templates/reversion/recover_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
{% block form_top %}
<p>{% blocktrans %}Press the save button below to recover this version of the object.{% endblocktrans %}</p>
{% endblock %}


{% block content %}{% with is_popup=1 %}{{block.super}}{% endwith %}{% endblock %}
3 changes: 3 additions & 0 deletions src/reversion/templates/reversion/revision_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
{% block form_top %}
<p>{% blocktrans %}Press the save button below to revert to this version of the object.{% endblocktrans %}</p>
{% endblock %}


{% block content %}{% with is_popup=1 %}{{block.super}}{% endwith %}{% endblock %}

0 comments on commit 9b30032

Please sign in to comment.