= form_for(@programming_group, url: exercise_programming_groups_path) do |f|
  = render('shared/form_errors', object: @programming_group)
  .form-group
    .row
      .col-md-6
        = f.label(:programming_partner_ids, class: 'form-label')
    .row
      .col-md-6
        .input-group.mb-3
          = f.text_field(:programming_partner_ids, class: 'form-control', required: true, value: (@programming_group.programming_partner_ids - [current_user.id_with_type]).join(', '))
          = render('shared/submit_button', f: f, object: @programming_group)
        /.help-block.form-text = t('.hints.programming_partner_ids')
      .col-md-6
        .join_programming_pair.button.btn.btn-primary.d-none.d-md-block
          i.fa-solid.fa-circle-notch.fa-spin.d-none
          = t('programming_groups.new.find_programming_partner')
