theforeman/foreman-digitalocean

View on GitHub
app/views/compute_resources_vms/form/digitalocean/_base.html.erb

Summary

Maintainability
Test Coverage
<%= select_f f, :size, compute_resource.flavors, :slug, :slug, {}, {:label => _('Flavor')}  %>
<div id='image_selection'>
  <%= select_image(f, compute_resource) %>
</div>
<div id='region_selection'>
  <%= select_region(f, compute_resource) %>
</div>
<%= checkbox_f f, :ipv6, { :help_inline => _('Enable IPv6 networking for this VM.'), :label => _('IPv6 Support'), :label_size => "col-md-2" }, true, false if new_host %>
<%= checkbox_f f, :private_networking, { :help_inline => _('Enable private networking for this VM.'), :label => _('Private Networking'), :label_size => "col-md-2" }, true, false if new_host %>