Sha256: e42dcf2e005399f9dc6654d8bbe4aaf49cce413cb21987e1d0ba42dcd357f992
Contents?: true
Size: 1.69 KB
Versions: 6
Compression:
Stored size: 1.69 KB
Contents
<%# Copyright 2018 Tristan Robert This file is part of ForemanFogProxmox. ForemanFogProxmox is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ForemanFogProxmox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %> <% if compute_resource.class == ForemanFogProxmox::Proxmox %> <% vm_type = f.object.respond_to?('type') ? f.object.type : nil %> <%= new_child_fields_template(f, compute_resource.interfaces_attrs_name, { :object => compute_resource.new_interface, :partial => provider_partial(compute_resource, 'network'), :form_builder_attrs => { :vm_type => vm_type, :compute_resource => compute_resource, :new_host => new_host, :new_vm => new_vm, :remove_title => _('remove network interface') }, :layout => 'compute_resources_vms/form/deletable_layout' }) %> <% else %> <%= new_child_fields_template(f, compute_resource.interfaces_attrs_name, { :object => compute_resource.new_interface, :partial => provider_partial(compute_resource, 'network'), :form_builder_attrs => { :compute_resource => compute_resource, :new_host => new_host, :new_vm => new_vm, :remove_title => _('remove network interface') }, :layout => 'compute_resources_vms/form/deletable_layout' }) %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems