foreman/app/views/taxonomies/_step1.html.erb @ bf4a13d3
671b45e9 | Joseph Mitchell Magen | <%= form_for taxonomy do |f| %>
|
|
<%= base_errors_for taxonomy %>
|
|||
fd2e3be1 | Lukas Zapletal | <%= wizard_header 1, _("Create %s") % taxonomy.class.name, _("Select Hosts"), _("Edit Properties") %>
|
|
bf4a13d3 | Walden Raines | <%= text_f f, :name %>
|
|
85eac622 | Amos Benari | ||
<%= submit_or_cancel f %>
|
|||
671b45e9 | Joseph Mitchell Magen | ||
111ef124 | Joseph Mitchell Magen | <% (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 %>
|
|||
ab7baec6 | Bryan Kearney | <% end %>
|