<commit_before><div class="container">
  <div class="panel">
    <div class="panel-heading">Your budgets</div>

    <table class="table table-hover table-condensed">
      <tr>
        <th>Name</th>
        <th>Members</th>
        <th>Total Amount</th>
        <th></th>
      </tr>
      <% @budgets.order(created_at: :desc).each do |budget| %>
        <tr>
          <td><%= budget.name %></td>
          <td><%= budget.members.count %></td>
          <td>&euro;</td>
          <td><%= link_to "Show", budget_path(budget), class: "btn btn-primary btn-small"%></td>
        </tr>
      <% end %>
      <% if can? :create, Budget %>
        <tr>
          <td colspan="4"><%= link_to "Add", new_budget_path, class: "btn btn-primary btn-small" %></td>
        </tr><commit_msg>Display budget total on budget index page.<commit_after><div class="container">
  <div class="panel">
    <div class="panel-heading">Your budgets</div>

    <table class="table table-hover table-condensed">
      <tr>
        <th>Name</th>
        <th>Members</th>
        <th>Total Amount</th>
        <th></th>
      </tr>
      <% @budgets.order(created_at: :desc).each do |budget| %>
        <tr>
          <td><%= budget.name %></td>
          <td><%= budget.members.count %></td>
          <td><%= budget.total %> &euro;</td>
          <td><%= link_to "Show", budget_path(budget), class: "btn btn-primary btn-small"%></td>
        </tr>
      <% end %>
      <% if can? :create, Budget %>
        <tr>
          <td colspan="4"><%= link_to "Add", new_budget_path, class: "btn btn-primary btn-small" %></td>
        </tr>
{'fraction_non_alphanumeric': 0.2052401746724891, 'fraction_numerical': 0.0012476606363069245, 'mean_word_length': 2.2469635627530367, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 76, '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': '7226389', 'n_tokens_mistral': 570, 'n_tokens_neox': 541, 'n_words': 119}