<commit_before>- object = delete_notice

%li{style: 'display:block; margin-top:10px'}
  %span.label= @abstract_model.pretty_name
  - wording = object.send(@model_config.object_label_method)
  - if show_action = action(:show, @abstract_model, object)
    = link_to(wording, url_for(action: show_action.action_name, model_name: @abstract_model.to_param, id: object.id), class: 'pjax')
  - else
    = wording
  %ul
    - @abstract_model.each_associated_children(object) do |association, child|
      %li
        - child_config = RailsAdmin.config(child)
        = @abstract_model.model.human_attribute_name association.name
        - wording = child.send(child_config.object_label_method)
        - if child.id && (show_action = action(:show, child_config.abstract_model, child))
          = link_to(wording, url_for(action: show_action.action_name, model_name: child_config.abstract_model.to_param, id: child.id), class: 'pjax')
        - else
          = wording<commit_msg>Fixed label in _delete_notice partial for Bootstrap 3<commit_after>- object = delete_notice

%li{style: 'display:block; margin-top:10px'}
  %span.label.label-default= @abstract_model.pretty_name
  - wording = object.send(@model_config.object_label_method)
  - if show_action = action(:show, @abstract_model, object)
    = link_to(wording, url_for(action: show_action.action_name, model_name: @abstract_model.to_param, id: object.id), class: 'pjax')
  - else
    = wording
  %ul
    - @abstract_model.each_associated_children(object) do |association, child|
      %li
        - child_config = RailsAdmin.config(child)
        = @abstract_model.model.human_attribute_name association.name
        - wording = child.send(child_config.object_label_method)
        - if child.id && (show_action = action(:show, child_config.abstract_model, child))
          = link_to(wording, url_for(action: show_action.action_name, model_name: child_config.abstract_model.to_param, id: child.id), class: 'pjax')
        - else
          = wording
{'fraction_non_alphanumeric': 0.117, 'fraction_numerical': 0.0025, 'mean_word_length': 4.053030303030303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6265893', 'n_tokens_mistral': 657, 'n_tokens_neox': 636, 'n_words': 116}