Sha256: 3ef2d5f91baa951a52bd1ffc2122b66863e6828f02e0104437b6688bbfa32c91
Contents?: true
Size: 1.97 KB
Versions: 1
Compression:
Stored size: 1.97 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/>. %> <%= javascript_include_tag 'foreman_fog_proxmox/proxmox' %> <%= javascript_tag("$(document).on('ContentLoad', tfm.numFields.initAll)"); %> <!-- VM General Settings --> <%= field_set_tag _("General"), :id => "general" do %> <%= checkbox_f f, :templated, :label => _('Create image?'), :disabled => new_vm || f.object.templated? %> <%= counter_f f, :vmid, :label => _('VM ID'), :label_size => "col-md-2", :required => true, :disabled => !new_vm %> <%= select_f f, :node, compute_resource.nodes, :node, :node, { }, :label => _('Node'), :label_size => "col-md-2", :required => true, :disabled => !new_vm %> <% 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, :label => _('Image'), :label_size => "col-md-2" %> </div> <% end %> <% end %> <!-- Config --> <%= f.fields_for :config do |config_f|%> <%= render :partial => 'compute_resources_vms/form/proxmox/config', :locals => { :f => config_f, :compute_resource => compute_resource, :host => @host, :new_vm => new_vm, :item_layout => 'removable' } %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_fog_proxmox-0.4.0 | app/views/compute_resources_vms/form/proxmox/_base.html.erb |