<commit_before>.btn-group.pull-right.panel-action
  %button.btn.btn-primary.btn-sm.dropdown-toggle{:data => {:toggle => 'dropdown'}}
    %i.fa.fa-cog
    = " Actions"
    %span.caret
  %ul.dropdown-menu{:role => 'menu'}
    - if can? :update, @maintenance_provider
      %li
        = link_to edit_maintenance_provider_path(@maintenance_provider) do
          %i.fa.fa-edit.fa-fw
          = " Update this maintenance provider"
    - if can? :delete, @maintenance_provider
      %li.divider
      %li
        = link_to maintenance_provider_path(@maintenance_provider), :method => :delete, :data => {:confirm => "Are you sure you want to remove this maintenance provider? The action can't be undone."} do
          %i.fa.fa-trash-o.fa-fw
          = " Remove this maintenance provider"<commit_msg>standardize cancan :destroy/:delete action on :destroy<commit_after>.btn-group.pull-right.panel-action
  %button.btn.btn-primary.btn-sm.dropdown-toggle{:data => {:toggle => 'dropdown'}}
    %i.fa.fa-cog
    = " Actions"
    %span.caret
  %ul.dropdown-menu{:role => 'menu'}
    - if can? :update, @maintenance_provider
      %li
        = link_to edit_maintenance_provider_path(@maintenance_provider) do
          %i.fa.fa-edit.fa-fw
          = " Update this maintenance provider"
    - if can? :destroy, @maintenance_provider
      %li.divider
      %li
        = link_to maintenance_provider_path(@maintenance_provider), :method => :delete, :data => {:confirm => "Are you sure you want to remove this maintenance provider? The action can't be undone."} do
          %i.fa.fa-trash-o.fa-fw
          = " Remove this maintenance provider"
{'fraction_non_alphanumeric': 0.1346389228886169, 'fraction_numerical': 0.0, 'mean_word_length': 2.978102189781022, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '2974095', 'n_tokens_mistral': 522, 'n_tokens_neox': 514, 'n_words': 114}