Revision c2d5484a
Added by Ohad Levy almost 12 years ago
- ID c2d5484a535ff6b5990d3365d533a13a29f4ab64
app/views/compute_resources_vms/form/libvirt/_network.html.erb | ||
---|---|---|
<div class="fields">
|
||
<% if (networks = compute_resource.networks).any? -%>,
|
||
<%= selectable_f f, :bridge, networks.map(&:name), { }, :class => "span2", :label => "Network",
|
||
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label important' }) %>
|
||
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label label-important' }) %>
|
||
<% else -%>
|
||
<%= text_f f, :bridge, :class => "span2", :label => "Network", :help_block => "your libvirt host does not support interface listing, please enter here the bridge name (e.g. br0)",
|
||
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label important' }) %>
|
||
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label label-important' }) %>
|
||
<% end -%>
|
||
</div>
|
Also available in: Unified diff
[UI] - added missing label classes