= content_tag_for(:tr, instance)
  td = (current_page - 1) * per_page + instance_counter + 1
  th
    a
      = link_to format_inline_text(instance.name), \
                admin_instance_admin_url(host: instance.host, port: nil)

  td = instance.host

  td
    = instance.active_user_count
    = ' / '
    = link_to instance.user_count, admin_instance_users_url(host: instance.host)

  td
    = instance.active_course_count
    = ' / '
    = link_to instance.course_count, admin_instance_courses_url(host: instance.host)

  td
    = edit_button([:admin, instance]) if can?(:edit, instance)
    = delete_button([:admin, instance]) if can?(:destroy, instance)

= content_tag_for(:tr, instance)
  td = (current_page - 1) * per_page + instance_counter + 1
  th
    a
      = link_to format_inline_text(instance.name), \
                admin_instance_admin_url(host: instance.host, port: nil)

  td = instance.host

  td
    = link_to instance.active_user_count, admin_instance_users_url(host: instance.host, active: true)
    = ' / '
    = link_to instance.user_count, admin_instance_users_url(host: instance.host)

  td
    = link_to instance.active_course_count, admin_instance_courses_url(host: instance.host, active: true)
    = ' / '
    = link_to instance.course_count, admin_instance_courses_url(host: instance.host)

  td
    = edit_button([:admin, instance]) if can?(:edit, instance)
    = delete_button([:admin, instance]) if can?(:destroy, instance)

Add links to active users/courses in instance management
Add links to active users/courses in instance management

Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2