<div id="parameters">
  <table class="table table-condensed" id="global_parameters_table">
    <thead>
    <tr>
      <% if controller_name =~ /(host|hostgroup)/ %>
        <th class='col-md-3'><%= _("Global Parameters") %></th>
      <% end %>
      <th class='col-md-2'><%= _("Name") %></th>
      <th class='col-md-5'><%= _("Value") %></th>
      <th><%= _('Actions') %></th>
    </tr>
    </thead>
  </table>

  <%= f.fields_for type do |builder| %>
    <%= render "common_parameters/parameter", :f => builder %>
  <% end %>
  <%= authorized_via_my_scope("host_editing", "create_params") ? link_to_add_fields('+ ' + _("Add Parameter"), f, type, "common_parameters/parameter") : "" %>
</div>
