Project

General

Profile

« Previous | Next » 

Revision 364b9adb

Added by Ondřej Pražák over 8 years ago

Fixes #11427 - puppetclass edit text under optional input validator is now alert-info

View differences:

app/views/lookup_keys/_fields.html.erb
<fieldset>
<%= collapsing_legend _("Optional input validator"), "#optional_input_validators_#{f.object.id}", "collapsed" %>
<div id="optional_input_validators_<%= f.object.id %>" class="collapse out">
<p class="help-block">
<%= _('Note that if you use ERB as a value of parameter, value will be validated during ENC evaluation. If value is invalid, ENC evaluation will fail.') %>
</p>
<%= alert :class => 'alert-info', :header => _('Note'), :text => _('If ERB is used in a parameter value, the validation of the value will happen during the ENC request. If the value is invalid, the ENC request will fail.') %>
<%= checkbox_f(f, :required, :size => "col-md-8", :disabled => !f.object.override,
:help_inline => popover('', _("If checked, will raise an error if there is no default value and no matcher provide a value."))
) if is_param %>

Also available in: Unified diff