<commit_before><div class='form-actions<%= ' form-actions-dialog' if from_dialog? %>'>
  <div class='form-actions-left'>
    <%= submit_tag  "#{submit_button_text ||= 'Save'}",
                    :id => "#{submit_button_id ||= "submit_button"}",
                    :class => "wymupdate button" -%>

    <%= render :partial => "/shared/admin/continue_editing", :locals => {:f => f} if continue_editing ||= false and
                                                                                     (!f.object.present? or !f.object.new_record?) -%>

    <%= hidden_field_tag :continue_editing, false %>

    <%= link_to("#{cancel_button_text ||= 'Cancel'}",
                (cancel_url ||= ((back=url_for(:back)).include?('javascript') ? send("admin_#{f.object.class.name.pluralize.underscore}_url") : back)),
                :title => (cancel_title ||= "Cancelling will lose all changes you've made to this #{f.object.class.name.underscore.gsub("_", " ")}"),
                :id => "#{cancel_button_id ||= "cancel_button"}",
                :class => "close_dialog button") unless (defined?(hide_cancel) ? hide_cancel : from_dialog?) %>
  </div>
  <% unless ((defined?(hide_delete) ? hide_delete : from_dialog?) or
             !f.object.present? or f.object.new_record? or
             (f.object.respond_to?(:deletable?) && !f.object.deletable?)) %>
    <div class='form-actions-right'>
      <%= link_to("#{delete_button_text ||= 'Delete'}",
                  (delete_url ||= eval("admin_#{f.object.class.name.underscore}_url(#{f.object.id})")),
                  :title => (delete_title ||= "Remove this #{f.object.class.name.underscore.gsub("_", " ")} forever"),
                  :id => "#{delete_button_id ||= "delete_button"}",
                  :class => "button confirm-delete")  %>
    </div>
  <% end %>
</div>
<commit_msg>we don't need to say to what, the user should know.<commit_after><div class='form-actions<%= ' form-actions-dialog' if from_dialog? %>'>
  <div class='form-actions-left'>
    <%= submit_tag  "#{submit_button_text ||= 'Save'}",
                    :id => "#{submit_button_id ||= "submit_button"}",
                    :class => "wymupdate button" -%>

    <%= render :partial => "/shared/admin/continue_editing", :locals => {:f => f} if continue_editing ||= false and
                                                                                     (!f.object.present? or !f.object.new_record?) -%>

    <%= hidden_field_tag :continue_editing, false %>

    <%= link_to("#{cancel_button_text ||= 'Cancel'}",
                (cancel_url ||= ((back=url_for(:back)).include?('javascript') ? send("admin_#{f.object.class.name.pluralize.underscore}_url") : back)),
                :title => (cancel_title ||= "Cancelling will lose all changes you've made"),
                :id => "#{cancel_button_id ||= "cancel_button"}",
                :class => "close_dialog button") unless (defined?(hide_cancel) ? hide_cancel : from_dialog?) %>
  </div>
  <% unless ((defined?(hide_delete) ? hide_delete : from_dialog?) or
             !f.object.present? or f.object.new_record? or
             (f.object.respond_to?(:deletable?) && !f.object.deletable?)) %>
    <div class='form-actions-right'>
      <%= link_to("#{delete_button_text ||= 'Delete'}",
                  (delete_url ||= eval("admin_#{f.object.class.name.underscore}_url(#{f.object.id})")),
                  :title => (delete_title ||= "Remove this #{f.object.class.name.underscore.gsub("_", " ")} forever"),
                  :id => "#{delete_button_id ||= "delete_button"}",
                  :class => "button confirm-delete")  %>
    </div>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.19086683073557562, 'fraction_numerical': 0.0, 'mean_word_length': 2.497131931166348, 'pattern_counts': {'":': 0, '<': 31, '<?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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6542195', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1116, 'n_words': 193}