{% load i18n wagtailadmin_tags %}

<form action="{% url 'wagtailadmin_pages:set_privacy' page.id %}" method="POST" novalidate>
    {% csrf_token %}
    {% formattedfield field=form.restriction_type show_label=False %}
    {% formattedfield form.password %}
    <div id="groups-fields">
        {% formattedfield form.groups %}
    </div>
    <input type="submit" value="{% trans "Save" %}" class="button" />
</form>
