Sha256: e39e6746c03645f6c034d436b010bf8adf56ce603afad3028b3387afc93108d8
Contents?: true
Size: 1.83 KB
Versions: 6
Compression:
Stored size: 1.83 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/>. %> <% nodes = compute_resource.nodes %> <% unless local_assigns[:hide_image] && !new_vm %> <% arch ||= nil ; os ||= nil images = possible_images(compute_resource, arch, os) -%> <div id='image_selection'> <%= select_f f, :image_id, images, :uuid, :name, { :include_blank => true }, :disabled => true, :help_inline => :indicator, :class => ('hide' if from_profile), :label => _('Image'), :no_label => from_profile, :label_size => "col-md-2" %> </div> <% end %> <% untemplatable = new_vm || f.object.templated? %> <% checked = params[:host] && params[:host][:compute_attributes] && params[:host][:compute_attributes][:start_after_create] || '1' %> <% content_for(:javascripts) do %> <%= webpacked_plugins_js_for :foreman_fog_proxmox %> <% end %> <%= react_component('ProxmoxVmType', { vmAttrs: object_to_attributes_hash(f.object, from_profile, checked), nodes: nodes.as_json, images: images.as_json, pools: compute_resource.pools.as_json, storages: compute_resource.storages.as_json, fromProfile: from_profile, newVm: new_vm, bridges: compute_resource.bridges.as_json, untemplatable: untemplatable }) %>
Version data entries
6 entries across 6 versions & 1 rubygems