<commit_before><span style="float:right;">
	<p>
      <%= link_to "[edit list]", edit_list_path(@list) %> | 
	  <%= link_to "[delete list]", list_path(@list), :method => :delete, :confirm => "Are you sure?" %>
    </p>
    <p>
      <%= link_to "[send test]", send_test_list_path(@list) %> 
    </p>
</span>
<h2><%=h @list.name %></h2>
<p><%=h @list.description %></p>

<h3>Subscribers</h3>
<%# @list.subscribers.present? ? (render :partial => @list.subscribers) : "There is no one subscribed to this list." %>
<% form_for @list do |f| %>
<% Subscriber.all.each do |subscriber| %>
	<%= check_box_tag 'list[subscriber_ids][]', subscriber.id, @list.subscribers.include?(subscriber) %>
	<%=h subscriber.name %><br />
<% end %>
<%= hidden_field_tag 'list[subscriber_ids][]', '' %>
<%= f.submit %>
<% end %>
<br />

<h3>Recent Topics</h3>
<%= @list.topics.present? ? (render :partial => @list.topics) : "There are no recent topics for this list." %>

<br />
<%= link_to 'Back', lists_path %><commit_msg>Added e-mail address to list of subscribers<commit_after><span style="float:right;">
	<p>
      <%= link_to "[edit list]", edit_list_path(@list) %> | 
	  <%= link_to "[delete list]", list_path(@list), :method => :delete, :confirm => "Are you sure?" %>
    </p>
    <p>
      <%= link_to "[send test]", send_test_list_path(@list) %> 
    </p>
</span>
<h2><%=h @list.name %></h2>
<p><%=h @list.description %></p>

<h3>Subscribers</h3>
<%# @list.subscribers.present? ? (render :partial => @list.subscribers) : "There is no one subscribed to this list." %>
<% form_for @list do |f| %>
<% Subscriber.all.each do |subscriber| %>
	<%= check_box_tag 'list[subscriber_ids][]', subscriber.id, @list.subscribers.include?(subscriber) %>
	<%=h subscriber.name + " (#{subscriber.email})"  %><br />
<% end %>
<%= hidden_field_tag 'list[subscriber_ids][]', '' %>
<%= f.submit %>
<% end %>
<br />

<h3>Recent Topics</h3>
<%= @list.topics.present? ? (render :partial => @list.topics) : "There are no recent topics for this list." %>

<br />
<%= link_to 'Back', lists_path %>
{'fraction_non_alphanumeric': 0.23563777994157742, 'fraction_numerical': 0.005842259006815969, 'mean_word_length': 4.450928381962865, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 77, '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': '5911192', 'n_tokens_mistral': 841, 'n_tokens_neox': 769, 'n_words': 171}