Sha256: 58c2f9c7a4b8012e5a0de082c11e3b47382bd94587141ab28d5cf8a1dec58ebd
Contents?: true
Size: 983 Bytes
Versions: 5
Compression:
Stored size: 983 Bytes
Contents
<% lookup_keys = overridable_lookup_keys(klass, host) %> <% lookup_keys.each_with_index do |key,i| -%> <tr id="puppetclass_<%= klass.id %>_params[<%= key.id %>]"> <%= content_tag :td, (i == 0 ? {:rowspan => lookup_keys.size} : {:class => 'hide'}) do # In order to use the class .hide-first-col, we must have an extra, invisible cell. # Plus, we make the class name available from javascript without having to look at any previous row. content_tag :span, klass.name, :'data-property' => 'class' end %> <td><%= content_tag :span, key.key, :class => "span2", :'data-property' => 'name' %></td> <td><%= key_with_diagnostic(host, key) %></td> <td> <%= link_to_function(_("override"), "override_class_param(this)", :title => _("Override this value"), :'data-tag' => 'override', :class =>"btn") if authorized_via_my_scope("host_editing", "create_params") %> </td> </tr> <% end -%>
Version data entries
5 entries across 5 versions & 1 rubygems