<commit_before><div class="row">
  <div class="col-sm-6">
    <div class="panel panel-default">
      <div class="panel-heading">
        Edit task
      </div>

      <div class="panel-body">
        <form class='form-horizontal' action="/tasks/<%= @task.id %>/edit" method="post">
          <div class="form-group">
            <div class="col-sm-12">
              <label for="description">Description</label>
              <input class="form-control" type="text" name="description" placeholder="buy some groceries" value="<%= @task.description %>" required autofocus/>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-9">
              <label for="tags">Tags</label>
              <input class="form-control" type="text" name="tags" placeholder="health, food" value="<%= @task.tag_names.join(', ') %>" />
            </div>

            <div class="col-sm-3">
              <label for="time_cost">Time Cost</label>
              <input class="form-control" type="number" name="time_cost" placeholder="10" value="<%= @task.time_cost %>" required/>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-12">
              <button type="submit" class="btn btn-success btn-block"><b>Update task</b></button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>

  <%= view('partials/task_settings_description.html', layout: false) %>
</div><commit_msg>Fix not showing time cost on task edit<commit_after><div class="row">
  <div class="col-sm-6">
    <div class="panel panel-default">
      <div class="panel-heading">
        Edit task
      </div>

      <div class="panel-body">
        <form class='form-horizontal' action="/tasks/<%= @task.id %>/edit" method="post">
          <div class="form-group">
            <div class="col-sm-12">
              <label for="description">Description</label>
              <input class="form-control" type="text" name="description" placeholder="buy some groceries" value="<%= @task.description %>" required autofocus/>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-9">
              <label for="tags">Tags</label>
              <input class="form-control" type="text" name="tags" placeholder="health, food" value="<%= @task.tag_names.join(', ') %>" />
            </div>

            <div class="col-sm-3">
              <label for="time_cost">Time Cost</label>
              <input class="form-control" type="number" name="time_cost" placeholder="10" value="<%= @task.time_cost.to_i %>" required/>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-12">
              <button type="submit" class="btn btn-success btn-block"><b>Update task</b></button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>

  <%= view('partials/task_settings_description.html', layout: false) %>
</div>
{'fraction_non_alphanumeric': 0.18675099866844208, 'fraction_numerical': 0.005992010652463382, 'mean_word_length': 2.1731784582893345, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '5183803', 'n_tokens_mistral': 919, 'n_tokens_neox': 886, 'n_words': 184}