Project

General

Profile

« Previous | Next » 

Revision 2b6605c4

Added by Ori Rabin about 9 years ago

Fixes #8217, #8214 - Rearranging override section in smart class parameter page and host page

View differences:

app/views/lookup_keys/_value.html.erb
:help_block => popover(_("Explain matchers"), _("Matcher is a combination of an attribute and its value, if they match, the value below would be provided.<br> You may use any attribute foreman knows about, such as facts etc for example: <code> domain = example.com </code> or <code> is_virtual = true</code>"),
:title => _("Matcher"))
%>
<%= checkbox_f(f, :use_puppet_default, :label => _('Use Puppet default'),
:help_inline => popover(_("Explain use Puppet default"), _('Do not send this parameter via the ENC. Puppet will use the value defined in the Puppet manifest for this parameter.')),
<%= checkbox_f(f, :use_puppet_default, :label => _('Use Puppet default'), :size => "col-md-8",
:help_block => use_puppet_default_help,
:onchange=>'toggleUsePuppetDefaultValue(this, "value")') if is_param %>
<%= textarea_f f, :value, :rows => :auto, :value => f.object.value_before_type_cast, :size => "col-md-8",
:disabled => f.object.use_puppet_default,

Also available in: Unified diff