<commit_before><h1>Editing Event</h1>

<%= render 'form' %>

<%= link_to 'Show', @event %> |
<%= link_to 'Back', events_path %><commit_msg>Add delete functionality to Events#edit view<commit_after><h1>Editing Event</h1>

<%= render 'form' %>

<br><br>

<small>Warning: This action cannot be undone!</small><br>
<%= button_to "Delete #{@event.title}?", event_path, method: "delete" %>

<br><br>
<%= link_to "Back to #{@event.title}", @event %> |
<%= link_to 'Back to Events', events_path %>
{'fraction_non_alphanumeric': 0.21881390593047034, 'fraction_numerical': 0.0081799591002045, 'mean_word_length': 6.101449275362318, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '6587829', 'n_tokens_mistral': 195, 'n_tokens_neox': 180, 'n_words': 44}