<commit_before><%= link_to(contact.status, edit_contact_path(contact),
            :title => t("contact.#{ contact.action }.title", :name => contact.receiver.name)) %>

<% if controller.controller_name == "contacts" %>

<br/>
<%= link_to(t('contact.delete'), contact_path(contact), :action => :destroy, :confirm => t('contact.confirm_delete'), :remote => true) %>

<% end %><commit_msg>fixes contact delete link in contacts page<commit_after><%= link_to(contact.status, edit_contact_path(contact),
            :title => t("contact.#{ contact.action }.title", :name => contact.receiver.name)) %>

<% if controller.controller_name == "contacts" %>

<br/>
<%= link_to(t('contact.delete'), contact_path(contact), , :method => :delete, :confirm => t('contact.confirm_delete'), :remote => true) %>

<% end %>
{'fraction_non_alphanumeric': 0.2082294264339152, 'fraction_numerical': 0.0, 'mean_word_length': 5.373015873015873, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 23, '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': '6631073', 'n_tokens_mistral': 264, 'n_tokens_neox': 250, 'n_words': 50}