Sha256: 5dbb3632ceb1b82eb703bffbbe0843946de87d5c208138e7dcfb00d0ff5b49db

Contents?: true

Size: 610 Bytes

Versions: 5

Compression:

Stored size: 610 Bytes

Contents

<div class="fields">
  <%
     nat = compute_resource.networks
     selected = ""
	 if params['host']
		 if params && params['host'] && params['host']['compute_attributes']
		   selected = params['host']['compute_attributes']['VIFs']['print']
		 elsif new.__vifs
		   selected = new.__vifs['print']
		 end
	 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

5 entries across 5 versions & 1 rubygems

Version Path
foreman_xen-0.1.2 app/views/compute_resources_vms/form/_network.html.erb
foreman_xen-0.1.1 app/views/compute_resources_vms/form/_network.html.erb
foreman_xen-0.1.0 app/views/compute_resources_vms/form/_network.html.erb
foreman_xen-0.0.6 app/views/compute_resources_vms/form/_network.html.erb
foreman_xen-0.0.5.1 app/views/compute_resources_vms/form/_network.html.erb