Sha256: e432fc5cdf0ec10df38d1e45c814c74bd5ecef3c66221db1244860a81e28d809

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 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 %>
<%= render :partial => provider_partial(compute_resource, 'base'),
            locals: { f: compute, host: host, compute_resource: compute_resource, new_host: host.new_record?, new_vm: !compute.object.persisted?,
                     arch: host.architecture_id, os: host.operatingsystem_id, from_profile: false } %>
<% else %>
<%= render :partial => provider_partial(compute_resource, 'base'),
            locals: { f: compute, host: host, compute_resource: compute_resource, new_host: host.new_record?, new_vm: !compute.object.persisted?,
                     arch: host.architecture_id, os: host.operatingsystem_id } %>

<!--Storage-->
<%= render :partial => 'compute_resources_vms/form/volumes', :locals => { :f => compute, :compute_resource => compute_resource, :new_host => !compute.object.persisted?, :new_vm => !compute.object.persisted?, :item_layout => 'removable' } %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_fog_proxmox-0.16.3 app/views/compute_resources_vms/form/proxmox/_update_react_component_to_host_form.html.erb
foreman_fog_proxmox-0.17.1 app/views/compute_resources_vms/form/proxmox/_update_react_component_to_host_form.html.erb