<commit_before><div class="container">
  <h2>New Transaction</h2>

  <%= form_for [@budget, @transaction], html: {class: "form-horizontal"} do |form| %>

    <fieldset>

      <div class="form-group <%= 'has-error' if @transaction.errors[:amount].present? %>">
        <%= form.label :amount, class: "control-label col-lg-2" %>
        <div class="col-lg-10">
          <%= form.number_field :amount, min: 0, class: "form-control" %>
          <span class="help-block"><%= @transaction.errors[:amount].first %></span>
        </div>
      </div>

      <div class="form-group <%= 'has-error' if @transaction.errors[:description].present? %>">
        <%= form.label :description, class: "control-label col-lg-2" %>
        <div class="col-lg-10">
          <%= form.text_field :description, class: "form-control" %>
          <span class="help-block"><%= @transaction.errors[:description].first %></span>
        </div>
      </div>

      <div class="form-group <%= 'has-error' if @transaction.errors[:participants].present? %>">
        <%= form.label :participants, class: "control-label col-lg-2" %>
        <a id="js-transaction-participants-toggle" class="col-lg-10 col-offset-2" href="#" data-all="All" data-none="None">All</a>
        <div id="js-transaction-participants" class="checkbox">
          <% @budget.members.each do |member| %>
            <label class="col-lg-10 col-offset-2">
              <%= check_box_tag "transaction[participant_ids][]", member.id, @transaction.participant_ids.include?(member.id) %><commit_msg>allow transactions with cents in form. Closes #16<commit_after><div class="container">
  <h2>New Transaction</h2>

  <%= form_for [@budget, @transaction], html: {class: "form-horizontal"} do |form| %>

    <fieldset>

      <div class="form-group <%= 'has-error' if @transaction.errors[:amount].present? %>">
        <%= form.label :amount, class: "control-label col-lg-2" %>
        <div class="col-lg-10">
          <%= form.number_field :amount, min: 0, step: "0.1", class: "form-control" %>
          <span class="help-block"><%= @transaction.errors[:amount].first %></span>
        </div>
      </div>

      <div class="form-group <%= 'has-error' if @transaction.errors[:description].present? %>">
        <%= form.label :description, class: "control-label col-lg-2" %>
        <div class="col-lg-10">
          <%= form.text_field :description, class: "form-control" %>
          <span class="help-block"><%= @transaction.errors[:description].first %></span>
        </div>
      </div>

      <div class="form-group <%= 'has-error' if @transaction.errors[:participants].present? %>">
        <%= form.label :participants, class: "control-label col-lg-2" %>
        <a id="js-transaction-participants-toggle" class="col-lg-10 col-offset-2" href="#" data-all="All" data-none="None">All</a>
        <div id="js-transaction-participants" class="checkbox">
          <% @budget.members.each do |member| %>
            <label class="col-lg-10 col-offset-2">
              <%= check_box_tag "transaction[participant_ids][]", member.id, @transaction.participant_ids.include?(member.id) %>
{'fraction_non_alphanumeric': 0.2011512631915574, 'fraction_numerical': 0.011512631915574032, 'mean_word_length': 3.1706666666666665, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '4992929', 'n_tokens_mistral': 1066, 'n_tokens_neox': 979, 'n_words': 187}