<commit_before>- if (can? :update, @funding_bucket) || (can? :edit_bucket_app, @funding_bucket)
  .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? :edit_bucket_app, @funding_bucket) && @funding_bucket.is_bucket_app?
        %li
          = link_to edit_bucket_app_funding_bucket_path(@funding_bucket), :remote => true do
            %i.fa.fa-edit.fa-fw
            = " Update this grant application"
      - if (can? :update, @funding_bucket)
        %li
          = link_to edit_funding_bucket_path(@funding_bucket), :remote => true do
            %i.fa.fa-edit.fa-fw
            = " Update this bucket's budget"

      - if (can? :destroy_bucket_app, @funding_bucket) && @funding_bucket.is_bucket_app?
        = link_to destroy_bucket_app_funding_bucket_path(@funding_bucket), :method => :delete, :data => {:confirm => "Are you sure you want to remove this grant application? The action can't be undone."} do
          %i.fa.fa-trash-o.fa-fw
            = " Remove this grant application"
<commit_msg>fix formatting and style<commit_after>- if (can? :update, @funding_bucket) || (can? :edit_bucket_app, @funding_bucket)
  .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? :edit_bucket_app, @funding_bucket) && @funding_bucket.is_bucket_app?
        %li
          = link_to edit_bucket_app_funding_bucket_path(@funding_bucket), :remote => true do
            %i.fa.fa-edit.fa-fw
            = " Update this grant application"
      - if (can? :update, @funding_bucket)
        %li
          = link_to edit_funding_bucket_path(@funding_bucket), :remote => true do
            %i.fa.fa-edit.fa-fw
            = " Update this bucket's budget"

      - if (can? :destroy_bucket_app, @funding_bucket) && @funding_bucket.is_bucket_app?
        %li
          = link_to destroy_bucket_app_funding_bucket_path(@funding_bucket), :method => :delete, :data => {:confirm => "Are you sure you want to remove this grant application? The action can't be undone."} do
            %i.fa.fa-trash-o.fa-fw
            = " Remove this grant application"

{'fraction_non_alphanumeric': 0.13714047519799916, 'fraction_numerical': 0.0, 'mean_word_length': 2.7914691943127963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '2263427', 'n_tokens_mistral': 815, 'n_tokens_neox': 799, 'n_words': 164}