<commit_before><h1>Citizen<h1>

<p>
  <strong>FirstName:</strong>
  <%= @citizen.firstname %>
</p>
 
 <p>
  <strong>LastName:</strong>
  <%= @citizen.lastname %>
</p>
 
<p>
  <strong>Candidate:</strong>
  <%= @citizen.candidate %>
</p>

<p>
  <strong>Precinct:</strong>
  <%= @citizen.precinct_id %>
</p>

<%= link_to 'Edit', edit_citizen_path(@citizen) %> |
<%= link_to 'Back', citizens_path %><commit_msg>Update citizen show page<commit_after><h1>Citizen detail</h1>

<% if @citizen.ld_checked_in %>	
  <h2><p class="bg-success"><%= @citizen.firstname %> <%= @citizen.lastname %> Checked in</p></h2>   									
<% else %>		
  <h2><p class="bg-danger"><%= @citizen.firstname %> <%= @citizen.lastname %> Checked out</p></h2>    	
<% end %>   

<div>
  <strong>Candidate:</strong>
  <%= @citizen.candidate %>
</div>

<div>
  <strong>Precinct:</strong>
  <%= @citizen.precinct.name if @citizen.precinct %>
</div>

<div>
  <strong>LD Delegate:</strong>
  <%= @citizen.ld_delegate %>
</div>

<div>
  <strong>LD Alternate number:</strong>
  <%= @citizen.ld_alternate_number %>
</div>

<div>
  <strong>Seated LD Alternate:</strong>
  <%= @citizen.ld_seated_alternate %>
</div>

<div>
  <strong>Address:</strong> <br>
  <%= @citizen.address %> <br>
  <%= @citizen.city %> <br>
  <%= @citizen.zip %> <br>
  <%= @citizen.phone %> <br>
</div>


<%= link_to 'Edit', edit_citizen_path(@citizen) %> |
<%= link_to 'Back', citizens_path %>
{'fraction_non_alphanumeric': 0.23789473684210527, 'fraction_numerical': 0.005614035087719298, 'mean_word_length': 4.2234432234432235, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '6738270', 'n_tokens_mistral': 652, 'n_tokens_neox': 583, 'n_words': 89}