<% 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 = nil) %>
  • " <%= "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) %> <% else %> <%= check_box_tag("scc_account[scc_subscribe_product_ids][]", scc_product.id, false) %> <% end %> <%= scc_product.friendly_name %> <% 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 %>