<commit_before>%input{type: :hidden, name: 'return_to', value: (params[:return_to].presence || request.referer)}
%br

.form-group
  .col-sm-offset-2.col-sm-10
    %button.btn.btn-primary{type: "submit", name: "_save", :'data-disable-with' => t("admin.form.save")}
      %i.icon-white.icon-ok
      = t("admin.form.save")
    %span.extra_buttons
      - if authorized? :new, @abstract_model<commit_msg>Updated _submit_buttons.html.haml. Fixes #2181.<commit_after>%input{type: :hidden, name: 'return_to', value: (params[:return_to].presence || request.referer)}
%br

.form-group.form-actions
  .col-sm-offset-2.col-sm-10
    %button.btn.btn-primary{type: "submit", name: "_save", :'data-disable-with' => t("admin.form.save")}
      %i.icon-white.icon-ok
      = t("admin.form.save")
    %span.extra_buttons
      - if authorized? :new, @abstract_model
{'fraction_non_alphanumeric': 0.19434628975265017, 'fraction_numerical': 0.011778563015312132, 'mean_word_length': 3.941860465116279, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1365738', 'n_tokens_mistral': 318, 'n_tokens_neox': 317, 'n_words': 48}