Maybe slightly more work, but does it make sense to use the same structure as compute_resources_vms? I.e images/form/_libvirt.html.erb and so on?