Skip to content

Commit

Permalink
fix: #status_tag was rendering options instead of label
Browse files Browse the repository at this point in the history
  • Loading branch information
Mate2xo committed Sep 14, 2024
1 parent cffc01c commit e5e79da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/admin/members.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5e79da

Please sign in to comment.