<div id="puppetclasses_parameters">
  <table class="table table-condensed" id="puppetclasses_parameters_table">
    <thead>
    <tr>
      <th class='col-md-3'><%= _("Puppet class overrides") %></th>
      <th class='col-md-2'><%= _("Name") %></th>
      <th class='col-md-4'><%= _("Value") %></th>
      <th class='col-md-2'><%= _("Use Puppet default") %></th>
      <th><%= _('Actions') %></th>
    </tr>
    </thead>
  </table>

  <%= f.fields_for :lookup_values do |builder| %>
    <%= render "common_parameters/puppetclass_parameter", :f => builder %>
  <% end %>


  <%# Hidden button to add an override, used from javascript only %>
  <%= authorized_via_my_scope('host_editing', 'create_params') ? link_to_add_fields('+ ' + _('Override a Puppetclass Parameter'), f, :lookup_values, 'common_parameters/puppetclass_parameter', :class => 'hide') : '' %>


</div>
