Sha256: 5cb10e1ba8990428912aafe72f6f70a6351bfe3e8d1bc850cf0c0d071550b2d7
Contents?: true
Size: 897 Bytes
Versions: 2
Compression:
Stored size: 897 Bytes
Contents
<div class="fields"> <div id='xenserver_network'> <%= selectable_f_with_cache_invalidation f, :network, options_from_collection_for_select( compute_resource.networks, :uuid, :name ), { include_blank: compute_resource.networks.any? ? false : _('No networks') }, { class: 'span2', label: _('Network'), label_size: 'col-md-3', sizer: 'col-md-8', disabled: (controller_name != 'hosts') }, { title: 'Refresh available networks', url: url_for(controller: "foreman_xen/cache", action: "refresh", only_path: true), compute_resource_id: compute_resource.id, attribute: 'networks' } %> </div> </div> <%= javascript_tag(" $(document).ready(function(){ $('#network_interfaces').hide(); }); ") if controller_name != 'hosts' %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_xen-1.0.1 | app/views/compute_resources_vms/form/xenserver/_network.html.erb |
foreman_xen-1.0.0 | app/views/compute_resources_vms/form/xenserver/_network.html.erb |