|
<%= render 'selected_hosts', :hosts => @hosts %>
|
|
|
|
<% if @parameters.empty? -%>
|
|
Sorry, these hosts do not have parameters assigned to them, you must add them first.
|
|
<p><%= link_to "Back to host list", hosts_path %></p>
|
|
<% else -%>
|
|
<% form_tag update_multiple_parameters_hosts_path({:host_ids => params[:host_ids]}) do %>
|
|
<div class="span-24">
|
|
<% for param in @parameters %>
|
|
<div class="span-3">
|
|
<%= param.name %>
|
|
</div>
|
|
<%= text_field :name, param.name, :class => "span-12 last" %>
|
|
<% end %>
|
|
</div>
|
|
<div class="span-24 last"><%# submit_tag "Submit", :title => pluralize(@parameters.size, 'parameter') %></div>
|
|
<% end %>
|
|
<% end %>
|