foreman/app/views/hosts/multiple_parameters.html.erb @ 159a7a62
52538203 | Ohad Levy | <%= 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 -%>
|
|||
017e1049 | Ohad Levy | <%= form_tag update_multiple_parameters_hosts_path({:host_ids => params[:host_ids]}) do %>
|
|
49338863 | Amos Benari | <% for param in @parameters %>
|
|
159a7a62 | Ohad Levy | <%= text_field :name, param.name, :class => "input-xxlarge", :placeholder => param.name %>
|
|
49338863 | Amos Benari | <% end %>
|
|
52538203 | Ohad Levy | <% end %>
|
|
<% end %>
|