<commit_before>%ul.breadcrumb
  Cancel or Terminate
= form_for @cancel_terminate, :html => { :class => 'form-horizontal', :role => "form" }, url: transmit_policy_path(@cancel_terminate.policy) do |f|
  .panel.panel-default
    .panel-body
      .row
        .col-md-12
          .control-group
            = f.radio_button :operation, "terminate", checked: true
            = f.label "terminate"
            = f.radio_button :operation, "cancel"
            = f.label "cancel"
      .row
        .col-md-12
          .control-group
            = f.select :reason, options_for_select(CancelTerminate.reasons), :class => 'form-control select-block select mbl'
      .row
        .col-md-12
          = f.label :benefit_end_date
        .col-md-12
          = f.text_field :benefit_end_date, {class: 'date_picker'}
      %table.table.table-condensed
        %thead
          %tr
            %th{title: "To Terminate"}
              Members
            %th
              Name
            %th
              Role
        %tbody
          = f.fields_for(:people) do |people_fields|
            %tr
              %td
                = people_fields.check_box :include_selected
                = people_fields.hidden_field :m_id
              %td
                = people_fields.object.name
                = people_fields.hidden_field :name
              %td
                = people_fields.object.role
                = people_fields.hidden_field :role
      .row
        .col-md-2
          .form_actions
            = f.submit 'Cancel / Terminate', :class => 'btn btn-inverse'
        .col-md-5
          .form-group
            Action :
            = f.radio_button :action, "transmit", checked: true
            = f.label "transmit"
            = f.radio_button :action, "download"
            = f.label "download"
            = f.radio_button :action, "update"
            = f.label "update gluedb"<commit_msg>add confirmation dialog for cancel/term<commit_after>%ul.breadcrumb
  Cancel or Terminate
= form_for @cancel_terminate, :html => { :class => 'form-horizontal', :role => "form" }, url: transmit_policy_path(@cancel_terminate.policy) do |f|
  .panel.panel-default
    .panel-body
      .row
        .col-md-12
          .control-group
            = f.radio_button :operation, "terminate", checked: true
            = f.label "terminate"
            = f.radio_button :operation, "cancel"
            = f.label "cancel"
      .row
        .col-md-12
          .control-group
            = f.select :reason, options_for_select(CancelTerminate.reasons), :class => 'form-control select-block select mbl'
      .row
        .col-md-12
          = f.label :benefit_end_date
        .col-md-12
          = f.text_field :benefit_end_date, {class: 'date_picker'}
      %table.table.table-condensed
        %thead
          %tr
            %th{title: "To Terminate"}
              Members
            %th
              Name
            %th
              Role
        %tbody
          = f.fields_for(:people) do |people_fields|
            %tr
              %td
                = people_fields.check_box :include_selected
                = people_fields.hidden_field :m_id
              %td
                = people_fields.object.name
                = people_fields.hidden_field :name
              %td
                = people_fields.object.role
                = people_fields.hidden_field :role
      .row
        .col-md-2
          .form_actions
            = f.submit 'Cancel / Terminate', class: 'btn btn-inverse', confirm: 'WARNING: This action will end coverage for the selected individuals. Are you sure you want to continue?'
        .col-md-5
          .form-group
            Action :
            = f.radio_button :action, "transmit", checked: true
            = f.label "transmit"
            = f.radio_button :action, "download"
            = f.label "download"
            = f.radio_button :action, "update"
            = f.label "update gluedb"
{'fraction_non_alphanumeric': 0.10518331226295828, 'fraction_numerical': 0.0050568900126422255, 'mean_word_length': 1.5133418043202034, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1449782', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1136, 'n_words': 243}