[%- CALL dw.active_resource_group( "foundation" ) -%] [% IF done %] [%- sections.title = ".success.head" | ml -%]

[% msg %]

[% ELSE %] [%- sections.title = ".confirm.head" | ml -%]

[% ".confirm.body" | ml %]

[% dw.form_auth() %] [% form.submit(name => 'confirm', value => dw.ml('.confirm.submit2')) %] [%- IF can_ban -%]
[% form.checkbox({ 'type' => 'check', 'name' => 'ban', 'id' => 'ban' })%] [%# label is separate because the userlink causes issues with the HTML when generated as part of the checkbox %]
[%- END -%] [%- IF can_spam -%] [%# Despite the idea of natural selection, don't let users report their own comments as spam %]
[% form.checkbox({name => 'spam', id => 'spam', label => dw.ml('.confirm.spam2')}) %]
[%- END -%] [%- IF can_delthread -%]
[% form.checkbox({name => 'delthread', id => 'delthread', label => dw.ml('.confirm.delthread2')}) %]
[%- END -%] [%- IF can_manage -%]

[% dw.ml(".changeoptions$iscomm", { 'link' => "" _ dw.ml('/manage/settings/index.bml.title.anon') _ "" }) %]

[%- END -%]
[% END %]