diff --git a/app/views/api_keys/index.html.erb b/app/views/api_keys/index.html.erb index e19c999fd..59fff75fb 100644 --- a/app/views/api_keys/index.html.erb +++ b/app/views/api_keys/index.html.erb @@ -23,9 +23,8 @@
<% end %> -<%# Don't show the ongoing access box if they have an active license that doesn't expire %> +<%# Don't show the ongoing access box and trial key box if they have an active license that doesn't expire %> <% unless @api_keys.find(&:active?) && @api_keys.find(&:active?).expires_at.nil? %> <%= render "ongoing_access_box" %> + <%= render "create_key_box", disabled: !@api_keys.empty? %> <% end %> - -<%= render "create_key_box", disabled: !@api_keys.empty? %>