Sha256: 9524f2795de1e6c56bface43fd656b7b52c999e627a64dff354e058a0cc27799

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 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/>. %>

<% 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' }) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_fog_proxmox-0.8.0 app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb
foreman_fog_proxmox-0.5.6 app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb