Sha256: ca86a7fb9d628ab02c623b31d5cbb949027d3a3347122f096135e0bcb6038625

Contents?: true

Size: 534 Bytes

Versions: 3

Compression:

Stored size: 534 Bytes

Contents

<div class="fields">
  <%
     nat = compute_resource.networks
     selected = ""
     if params && params['host'] && params['host']['compute_attributes']
       selected = params['host']['compute_attributes']['VIFs']['print']
     end
  -%>

  <div id='nat' class=''>
    <%= selectable_f f, :print, nat.map(&:name),
                     { :include_blank => nat.any? ? false : _("No networks"),
                       :selected      => selected },
                     { :class => "span2", :label => _("Network") } %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_xen-0.0.3 app/views/compute_resources_vms/form/_network.html.erb
foreman_xen-0.0.2 app/views/compute_resources_vms/form/_network.html.erb
foreman_xen-0.0.1 app/views/compute_resources_vms/form/_network.html.erb