set_privacy.html 487 B

12345678910111213
  1. {% load i18n wagtailadmin_tags %}
  2. <form action="{% url 'wagtailadmin_collections:set_privacy' collection.id %}" method="POST" novalidate>
  3. {% csrf_token %}
  4. {% formattedfield field=form.restriction_type show_label=False %}
  5. {% if form.password is not None %}
  6. {% formattedfield form.password %}
  7. {% endif %}
  8. <div id="groups-fields">
  9. {% formattedfield form.groups %}
  10. </div>
  11. <input type="submit" value="{% trans "Save" %}" class="button" />
  12. </form>