Sha256: 7a1df342c3a52f4e775506ac3973bebac74e98554273b8fbdeec4efe4f422841

Contents?: true

Size: 502 Bytes

Versions: 5

Compression:

Stored size: 502 Bytes

Contents

<%= 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, :class => "input-xlarge" %>

    <%= 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 %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/taxonomies/_step1.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/taxonomies/_step1.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/taxonomies/_step1.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/taxonomies/_step1.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/taxonomies/_step1.html.erb