|
<%= form_for taxonomy do |f| %>
|
|
<%= base_errors_for taxonomy %>
|
|
<%= wizard_header 1, _("Create %s") % taxonomy.class.name, _("Select Hosts"), _("Edit Properties") %>
|
|
<%= text_f f, :name %>
|
|
|
|
<%= submit_or_cancel f %>
|
|
|
|
<% (TaxHost::HASH_KEYS - [taxonomy_ids_sym] ).each do |hash_key| %>
|
|
<% taxonomy.send(hash_key).each do |id| %>
|
|
<%= f.hidden_field "#{hash_key}", :value => id, :multiple => true %>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<% end %>
|