Corrected template rendering "can publish" field twice

This commit is contained in:
Erwhann-Rouge Guilhem MAS-PAITRAULT 2017-10-11 18:44:34 +02:00 committed by Miguel Silva
parent 07e0e98b47
commit 3034d5807c

View file

@ -18,10 +18,6 @@
{% if form.copy_subpages %}
{% include "wagtailadmin/shared/field_as_li.html" with field=form.copy_subpages %}
{% endif %}
{% if form.publish_copies %}
{% include "wagtailadmin/shared/field_as_li.html" with field=form.publish_copies %}
{% endif %}
</ul>
<input type="submit" value="{% trans 'Copy this page' %}" class="button">