2021-11-09 15:12:42 +00:00
|
|
|
- remove_form_id = local_assigns.fetch(:remove_form_id, nil)
|
|
|
|
|
2020-01-24 15:09:00 +00:00
|
|
|
.sub-section
|
|
|
|
%h4.danger-title= _('Remove group')
|
2021-11-09 15:12:42 +00:00
|
|
|
= form_tag(group, method: :delete, id: remove_form_id) do
|
2020-01-24 15:09:00 +00:00
|
|
|
%p
|
2020-02-20 06:09:13 +00:00
|
|
|
= _('Removing this group also removes all child projects, including archived projects, and their resources.')
|
2020-01-24 15:09:00 +00:00
|
|
|
%br
|
|
|
|
%strong= _('Removed group can not be restored!')
|
2021-03-26 12:09:15 +00:00
|
|
|
|
2021-11-09 15:12:42 +00:00
|
|
|
= render 'groups/settings/remove_button', group: group, remove_form_id: remove_form_id
|