diff --git a/app/views/admin/api_users/_api_user.html.erb b/app/views/admin/api_users/_api_user.html.erb
new file mode 100644
index 000000000..196cb2ebb
--- /dev/null
+++ b/app/views/admin/api_users/_api_user.html.erb
@@ -0,0 +1,5 @@
+
+ <%= link_to api_user, admin_registrar_api_user_path(api_user.registrar, api_user) %> |
+ <%= link_to api_user.registrar, [:admin, api_user.registrar] %> |
+ <%= api_user.active %> |
+
diff --git a/app/views/admin/api_users/index.html.erb b/app/views/admin/api_users/index.html.erb
index 8faff2cff..1ca018bb1 100644
--- a/app/views/admin/api_users/index.html.erb
+++ b/app/views/admin/api_users/index.html.erb
@@ -21,15 +21,7 @@
- <% @api_users.each do |api_user| %>
-
- <%= link_to api_user,
- admin_registrar_api_user_path(api_user.registrar,
- api_user) %> |
- <%= link_to api_user.registrar, [:admin, api_user.registrar] %> |
- <%= api_user.active %> |
-
- <% end %>
+ <%= render @api_users %>