diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..35d16fb1 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.5.7 diff --git a/app/decorators/group_member_decorator.rb b/app/decorators/group_member_decorator.rb index e021349e..f55a403f 100644 --- a/app/decorators/group_member_decorator.rb +++ b/app/decorators/group_member_decorator.rb @@ -55,7 +55,8 @@ def inactivate_user_button(group) group_membership_inactivate_path(group.id, membership_id), method: :post, remote: true, class: 'uk-button uk-button-primary uk-button-small uk-width-auto', - id: "inactive-button-#{membership_id}" + id: "inactive-button-#{membership_id}", + data: { confirm: "Biztos, hogy öreggé szeretnéd avatni #{user.full_name}-t?" } end def archive_user_button(group)