Revision 92bf092d
Added by Amos Benari about 12 years ago
- ID 92bf092dcf735404bd00172b87191c99305b3b07
app/views/compute_resources/vms/form/_libvirt.html.erb | ||
---|---|---|
<%= f.fields_for :nics do |i| %>
|
||
<%= render 'compute_resources/vms/form/libvirt/network', :f => i, :compute_resource => compute_resource %>
|
||
<% end -%>
|
||
<%= add_child_link "+", :nics, { :class => "info", :title => 'add new network interface' } %>
|
||
<%= add_child_link "+ Add Interface", :nics, { :class => "info", :title => 'add new network interface' } %>
|
||
<% end -%>
|
||
</div>
|
||
|
||
... | ... | |
<%= f.fields_for :volumes do |i| %>
|
||
<%= render 'compute_resources/vms/form/libvirt/volume', :f => i, :compute_resource => compute_resource %>
|
||
<% end -%>
|
||
<%= add_child_link "+", :volumes, { :class => "info", :title => 'add new storage volume' } %>
|
||
<%= add_child_link "+ Add Volume", :volumes, { :class => "info", :title => 'add new storage volume' } %>
|
||
<% end -%>
|
||
</div>
|
||
<!--TODO # Move to a helper-->
|
Also available in: Unified diff
UI - more explicit button description for the add child node.