Project

General

Profile

Download (886 Bytes) Statistics
| Branch: | Tag: | Revision:
<% if @taxonomy.is_a?(Organization) %>

<%= javascript_include_tag 'katello/organizations/download_certificate' %>

<%= text_f f, :label, :disabled => true, :class => 'input-xlarge' %>

<%= textarea_f f, :description, :class => 'input-xlarge', :rows => 4 %>

<%= field(f, _('Default System SLA')) do
select_tag 'organization[service_level]', options_for_select(service_level_options, service_level_selected)
end %>

<%= field(f, _('Debug Certificate'),
:help_inline => _('This certificate allows a user to view the repositories in any environment from a browser.')) do
button_tag _('Generate and Download'), :id => :download_debug_cert_key,
:type => :button, :style => 'margin-top: 8px;', :class => 'btn btn-small',
'data-url' => "/katello/api/v2/organizations/#{@taxonomy.id}/download_debug_certificate"
end %>

<% end%>
(1-1/2)