Project

General

Profile

« Previous | Next » 

Revision 5f45920e

Added by Amos Benari about 10 years ago

fixes #4555 add ca certificate to ovirt

View differences:

app/views/compute_resources/form/_ovirt.html.erb
:'data-url' => test_connection_compute_resources_path) + image_tag('/assets/spinner.gif', :id => 'test_connection_indicator', :class => 'hide').html_safe }) %>
<% quotas = (f.object.uuid.nil? && controller.action_name != 'test_connection') ? [] : f.object.quotas.all rescue []%>
<%= select_f f, :ovirt_quota, quotas, :id, :name, {}, :label => _("Quota ID") %>
<%= textarea_f f, :public_key, :disabled => true, :label => _("CA Certificate"), :size => "col-md-8" %>
<%= f.hidden_field(:public_key) if f.object.uuid.present? %>

Also available in: Unified diff