= render partial: "groups_header"
- if @groups.count > 0
  .table-responsive
    table.table.table-striped
      thead
        tr
          th Name
          th Gid
          th Group Admin
      tbody
        - @groups.each do |group|
          tr
            td
              = link_to "#{group.name}", group_path(group)
            td
              = "#{group.gid}"
            td
              = group.group_admin.present? ? "#{group.group_admin.user.name}" : "Not present"

= render partial: "groups_header"
- if @groups.count > 0
  .table-responsive
    table.table.table-striped
      thead
        tr
          th Name
          th Gid
          th Group Admin
      tbody
        - @groups.each do |group|
          tr
            td
              = link_to "#{group.name}", group_path(group)
            td
              = "#{group.gid}"
            td
              = group.group_admin.present? ? "#{group.group_admin.user.try(:name)}" : "Not present"

Remove assumption that group_admin is a user
Remove assumption that group_admin is a user

- A group_admin can be se and be null as well

gate-sso/gate,gate-sso/gate,gate-sso/gate,gate-sso/gate