From e5e79da397432626137853cbf42710ffe481e516 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 14 Sep 2024 10:09:52 +0200 Subject: [PATCH] fix: #status_tag was rendering options instead of label --- app/admin/members.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/admin/members.rb b/app/admin/members.rb index 602fad4d..0a41da07 100644 --- a/app/admin/members.rb +++ b/app/admin/members.rb @@ -67,8 +67,9 @@ end table_for member.group_members do column t('.groups') do |group_member| - link_to Arbre::Context.new { (status_tag class: 'important', label: group_member.group.name) }, - [:admin, group_member.group] + link_to [:admin, group_member.group] do + status_tag(group_member.group.name, class: 'important') + end end column t('.assignment'), :assignment end