{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, ruleGroup) }} {% endblock %} {% block content %} {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('rules.rule-group.destroy',ruleGroup.id) }) }}
{{ trans('form.permDeleteWarning') }}
{{ trans('form.ruleGroup_areYouSure', {'title': ruleGroup.title}) }}
{% if ruleGroup.rules|length > 0 %} {{ Lang.choice('form.also_delete_rules', ruleGroup.rules|length, {count: ruleGroup.rules|length}) }} {% endif %}
{% if ruleGroup.rules|length > 0 %}{{ 'save_rules_by_moving'|_ }}
{{ Form.select('move_rules_before_delete', ruleGroupList, null, {class: 'form-control'}) }}
{% else %} {% endif %}