Sha256: 75fc883c4e3203b0c5e9d77a5ffa49dbf4558640f0188110b53429c293698ab5

Contents?: true

Size: 1.61 KB

Versions: 145

Compression:

Stored size: 1.61 KB

Contents

<% media_selection = using_hostgroups_page? ? use_install_media(@hostgroup) : use_install_media(@host, :selected_host_group => @hostgroup)
   install_media_radio  = media_selection ? 'checked="checked"':''
   synced_content_radio  = media_selection ? '' : 'checked="checked"'
   install_media_disabled = os_media.empty? ? 'disabled = true' : ''

   kickstart_options = using_hostgroups_page? ? kickstart_repository_options(@hostgroup) : kickstart_repository_options(@host, :selected_host_group => @hostgroup)
   synced_content_disabled = kickstart_options.empty? ? 'disabled = true' : ''
%>

<div class="clear-fix" id="media_selection_section">
  <div class="form-group ">
     <label class="col-md-2 control-label" for="use_install_media">Media Selection</label>
     <div class="col-md-4">
        <label class="radio-inline">
          <input data-media-selector="true" id="host_use_synced_content" name="media_selector" value="synced_content" type="radio" <%= synced_content_radio  %> <%= synced_content_disabled %>/> <%= _('Synced Content') %>
        </label>
        <label class="radio-inline">
          <input data-media-selector="true" id="host_use_install_media" name="media_selector" value="install_media" type="radio" <%= install_media_radio  %> <%= install_media_disabled  %>/> <%= _('All Media') %>
        </label>
        <span class="help-block">
          <%= _("Select the installation media that will be used to provision this host. Choose 'Synced Content' for Synced Kickstart Repositories or 'All Media' for other media.") %>
        </span>
      </div>
     <span class="help-block help-inline"></span>
  </div>
</div>

Version data entries

145 entries across 145 versions & 1 rubygems

Version Path
katello-4.0.3 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.5 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.2.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.2 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.4 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.1.2 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.3.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.1.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.3 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.0 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.0.rc3.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.0.rc3 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.2.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.2 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.17.3 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.0.rc2 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.18.1.1 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-3.17.2 app/views/overrides/activation_keys/_host_media_type_select.html.erb
katello-4.0.0.rc1 app/views/overrides/activation_keys/_host_media_type_select.html.erb