diff --git a/app/views/admin/enterprises/form/_users.html.haml b/app/views/admin/enterprises/form/_users.html.haml index 7b158289bc..460112090a 100644 --- a/app/views/admin/enterprises/form/_users.html.haml +++ b/app/views/admin/enterprises/form/_users.html.haml @@ -12,10 +12,10 @@ %th= t('.manager') %th.center = t('.owner') - = render partial: 'admin/shared/question_circle_tooltip', locals: { tooltip_text: t('.owner_tip') } + = render AdminTooltipComponent.new(text: t('.owner_tip'), link_text: %[].html_safe, link: nil) %th.center = t('.contact') - = render partial: 'admin/shared/question_circle_tooltip', locals: { tooltip_text: t('.contact_tip') } + = render AdminTooltipComponent.new(text: t('.contact_tip'), link_text: %[].html_safe, link: nil) %tbody - @enterprise.users.each do |user| - contact = user.id == @enterprise.contact&.id diff --git a/app/views/admin/shared/_question_circle_tooltip.html.haml b/app/views/admin/shared/_question_circle_tooltip.html.haml deleted file mode 100644 index 8af9e6e973..0000000000 --- a/app/views/admin/shared/_question_circle_tooltip.html.haml +++ /dev/null @@ -1 +0,0 @@ -= render AdminTooltipComponent.new(text: tooltip_text, link_text: %[].html_safe, link: nil)