<commit_before>= simple_form_for(@bucket_proxy,
:url => funding_buckets_path,
:html => {:class => 'form-vertical bucket_form' },
:wrapper => :vertical_form,
:wrapper_mappings => {:check_boxes => :vertical_radio_and_checkboxes, :radio_buttons => :vertical_radio_and_checkboxes, :file => :vertical_file_input, :boolean => :vertical_boolean}) do |f|

  -#TODO actually get these to appear on the same lin and next to the label Option:
  .row
    .col-sm-8
      = f.input :create_option, :as => :radio_buttons, :required => true, item_wrapper_class: 'inline', :label => "Option:", :collection => [ 'Create', 'Update', 'Delete' ]

  .create_conflict_option_div{:id => "create_conflict_option_div_id"}
    .row
      .col-sm-8
        = f.input :create_conflict_option, :as => :radio_buttons, :required => false, item_wrapper_class: 'inline', :label => "Create Conflict Option:", :collection => [ 'Update', 'Ignore', 'Cancel' ]

  .update_conflict_option_div{:id => "update_conflict_option_div_id"}
    .row
      .col-sm-8
        = f.input :update_conflict_option, :as => :radio_buttons, :required => false, item_wrapper_class: 'inline', :label => "Update Conflict Option:", :collection => [ 'Create', 'Ignore', 'Cancel' ]
<commit_msg>[#129395875] Updates the UI to only allow System Admins, and not Super Managers, to delete buckets.<commit_after>= simple_form_for(@bucket_proxy,
:url => funding_buckets_path,
:html => {:class => 'form-vertical bucket_form' },
:wrapper => :vertical_form,
:wrapper_mappings => {:check_boxes => :vertical_radio_and_checkboxes, :radio_buttons => :vertical_radio_and_checkboxes, :file => :vertical_file_input, :boolean => :vertical_boolean}) do |f|

  -#TODO actually get these to appear on the same lin and next to the label Option:
  .row
    .col-sm-8
      -if can? :manage, FundingBucket
        = f.input :create_option, :as => :radio_buttons, :required => true, item_wrapper_class: 'inline', :label => "Option:", :collection => [ 'Create', 'Update', 'Delete' ]
      -elsif can? :update, FundingBucket
        = f.input :create_option, :as => :radio_buttons, :required => true, item_wrapper_class: 'inline', :label => "Option:", :collection => [ 'Create', 'Update']


  .create_conflict_option_div{:id => "create_conflict_option_div_id"}
    .row
      .col-sm-8
        = f.input :create_conflict_option, :as => :radio_buttons, :required => false, item_wrapper_class: 'inline', :label => "Create Conflict Option:", :collection => [ 'Update', 'Ignore', 'Cancel' ]

  .update_conflict_option_div{:id => "update_conflict_option_div_id"}
    .row
      .col-sm-8
        = f.input :update_conflict_option, :as => :radio_buttons, :required => false, item_wrapper_class: 'inline', :label => "Update Conflict Option:", :collection => [ 'Create', 'Ignore', 'Cancel' ]

{'fraction_non_alphanumeric': 0.15808297567954221, 'fraction_numerical': 0.00536480686695279, 'mean_word_length': 4.90084388185654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '811156', 'n_tokens_mistral': 915, 'n_tokens_neox': 887, 'n_words': 222}