From 48dddeb227571a2acebf678f5c451616e4e53694 Mon Sep 17 00:00:00 2001 From: Akshay Mendhe Date: Tue, 31 Jul 2018 12:20:04 +0000 Subject: [PATCH] Fixes #24392 - Title "Global Parameters" removed from Host Group The parameters available for selection when creating a Host Group are not all the global parameters that exist. The title Global Parameters is removed. Signed-off-by: Akshay Mendhe --- app/views/hostgroups/_form.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/hostgroups/_form.html.erb b/app/views/hostgroups/_form.html.erb index 9396b926d2f..a888d68e3a0 100644 --- a/app/views/hostgroups/_form.html.erb +++ b/app/views/hostgroups/_form.html.erb @@ -81,12 +81,11 @@
<% if authorized_for(:controller => "host_editing", :action => "view_params") %>
-

<%= _('Global Parameters') %>

<% if @hostgroup.parent.present? %>

<%= _('Parent Parameters') %>

<%= render "common_parameters/inherited_parameters", { :inherited_parameters => @hostgroup.parent_params(true), :parameters => @hostgroup.group_parameters } %> <% end %> -

<%= _('Host Group Parameters') %>

+

<%= _('Host Group Parameters') %>

<%= render "common_parameters/parameters", { :f => f, :type => :group_parameters } %>
<% end %>