Sha256: 5621cae15923fa3f544f3bfafeac5644edd19e2bab49eda7279e434dcc0d4b09
Contents?: true
Size: 837 Bytes
Versions: 5
Compression:
Stored size: 837 Bytes
Contents
<%= fields_for "#{type}[compute_attributes]", @host ? @host.compute_object : compute_resource.new_vm do |compute| %> <% if compute.object %> <%= render :partial => "compute_resources_vms/form/#{compute_resource.provider.downcase}", :locals => { :f => compute, :compute_resource => compute_resource, :arch => @host.try(:architecture_id) || params[:architecture_id], :os => @host.try(:operatingsystem_id) || params[:operatingsystem_id] } %> <% else %> <div class="alert alert-message alert-block alert-warning base in fade"> <h4><%= _("'%{host}' not found on '%{resource}'") % { :host => @host.name, :resource => compute_resource } %></h4> <p><%= _("'%s' could be deleted.") % @host.name %></p> </div> <% end%> <%= hidden_field_tag 'capabilities', compute_resource.capabilities %> <% end -%>
Version data entries
5 entries across 5 versions & 1 rubygems