{% endif %}
    <div {% if form.initial.restriction_type != 'groups' %}hidden{% endif %} data-w-rules-target="show" data-w-rules='{"restriction_type": "groups"}'>
        {% formattedfield form.groups %}
    </div>
    <input type="submit" value="{% trans 'Save' %}" class="button" />
</form>
