<% title (_("Product Selection for Account %s") % @scc_account) %> <% javascript 'foreman_scc_manager/scc_accounts' %> <%= form_for([:bulk_subscribe, @scc_account], method: :put) do |f| %> <% def render_list_node(f, scc_product, parent_id = "") %>
  • " <%= "data-parent=scc_product_span_#{parent_id}" if parent_id != "" %>> <% if scc_product.product %> <%= check_box_tag("scc_account[scc_unsubscribe_product_ids][]", scc_product.id, true, disabled: true) %> <%= link_to(scc_product.pretty_name, "/products/#{scc_product.product_id}") %> <% else %> <%= check_box_tag("scc_account[scc_subscribe_product_ids][]", scc_product.id, false) %> <%= scc_product.pretty_name %> <% end %> <% unless scc_product.subscription_valid? %> <%= _('(WARNING: Please check your SUSE subscription)') %> <% end %> <% if scc_product.scc_extensions.any? %> <% end %>
  • <% end %> <%= f.hidden_field :prevent_missing, value: 1 %>
    <%= submit_or_cancel f, false, {disabled: submit_disabled || false} %>
    <% end %>