<commit_before><h1>Listing funds</h1>

<table>
  <tbody>
    <% @funds.each do |fund| %>
      
      <div class="panel panel-default">
        <div class="panel-heading">
          <h3 class="panel-title"><%= fund.name %></h3>
        </div>
        <div class="panel-body">
          <div class="media">
            <div class="media-left media-middle">
              <img class="media-object" alt="<%= fund.name %> logo" src="<%= fund.logo.url(:thumb) %>">
            </div>
            <div class="media-body">
                <h4 class="media-heading">Investment between: <%= fund.minTicket %>€ to <%= fund.maxTicket %>€ </h4>
              <p><%= fund.overview %></p>
            </div>
          </div>
          <div>
            <p><%= link_to 'Show', fund %>|<%= link_to 'Edit', edit_fund_path(fund) %>|<%= link_to 'Destroy', fund, method: :delete, data: { confirm: 'Are you sure?' } %>|<%= link_to 'View reviews', fund_reviews_path(fund) %></p>
          </div>
        </div>
      </div>
  
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Fund', new_fund_path %><commit_msg>Show number of Reviews for Fund<commit_after><h1>Listing funds</h1>

<table>
  <tbody>
    <% @funds.each do |fund| %>
      
      <div class="panel panel-default">
        <div class="panel-heading">
          <h3 class="panel-title"><%= fund.name %></h3>
        </div>
        <div class="panel-body">
          <div class="media">
            <div class="media-left media-middle">
              <img class="media-object" alt="<%= fund.name %> logo" src="<%= fund.logo.url(:thumb) %>">
            </div>
            <div class="media-body">
                <h4 class="media-heading">Investment between: <%= fund.minTicket %>€ to <%= fund.maxTicket %>€ </h4>
              <p><%= fund.overview %></p>
            </div>
          </div>
          <div>
            <p><%= link_to 'Show', fund %>|<%= link_to 'Edit', edit_fund_path(fund) %>|<%= link_to 'Destroy', fund, method: :delete, data: { confirm: 'Are you sure?' } %>|<%= link_to 'View reviews', fund_reviews_path(fund) %> (<%= fund.reviews.count %>)</p>
          </div>
        </div>
      </div>
  
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Fund', new_fund_path %>
{'fraction_non_alphanumeric': 0.21097234611953614, 'fraction_numerical': 0.0053523639607493305, 'mean_word_length': 2.1547116736990155, 'pattern_counts': {'":': 0, '<': 90, '<?xml version=': 0, '>': 90, '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': '7033420', 'n_tokens_mistral': 812, 'n_tokens_neox': 746, 'n_words': 170}