<commit_before><h3>Milestone</h3>
<div class="row">
  <div class="span3">
    <h4>Title</h4>
  </div>
  <div class="span3 offset1">
    <h4>End Date</h4>
  </div>
</div>
<div class="row">
  <div class="span3">
    <% if !milestone.is_virtual? %>
      <input name="milestones[<%= milestone.id %>][title]" type="text" required="true" value="<%= milestone.title %>">
    <% else %>
      <h4><%= milestone.title %></h4>
    <% end %>
  </div>
  <div class="span3 offset1">
    <% if !milestone.is_virtual? %>
    <div class="datepicker input-append date">
      <input name="milestones[<%= milestone.id %>][end_at]" type="datetime" required="true" value="<%= milestone.end_at.strftime('%d-%m-%Y') %>">
      <span class="add-on">
        <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
      </span>
    </div>
    <% end %>
  </div>
</div>
<div>
  <h4>Description</h4>
  <textarea class="text_field html-editor span7" rows="5">
    <%= milestone.description %>
  </textarea>
</div>
<% if milestone.entries.length > 0 %>
<div>
  <h4>Entries</h4>
  <% milestone.entries.each { |entry| %>
  <%= render :partial => "lesson_plan/overview_entry", :locals => { :entry => entry } %>
  <% } %>
</div>
<% end %>
<hr class="hr-shrink-margin"><commit_msg>Move labels to the same div as the actual fields.<commit_after><h3>Milestone</h3>

<div class="row">
  <div class="span3">
    <h4>Title</h4>
    <% if !milestone.is_virtual? %>
      <input name="milestones[<%= milestone.id %>][title]" type="text" required="true" value="<%= milestone.title %>">
    <% else %>
      <h4><%= milestone.title %></h4>
    <% end %>
  </div>
  <div class="span3 offset1">
    <% if !milestone.is_virtual? %>
    <h4>End Date</h4>
    <div class="datepicker input-append date">
      <input name="milestones[<%= milestone.id %>][end_at]" type="datetime" required="true" value="<%= milestone.end_at.strftime('%d-%m-%Y') %>" required="true">
      <span class="add-on">
        <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
      </span>
    </div>
    <% end %>
  </div>
</div>

<div>
  <h4>Description</h4>
  <textarea class="text_field html-editor span7">
    <%= milestone.description %>
  </textarea>
</div>

<% if milestone.entries.length > 0 %>
  <div>
    <h3 class="muted">Entries</h3>
    <% milestone.entries.each { |entry| %>
      <% if !entry.is_virtual? %>
        <%= render :partial => "lesson_plan/overview_entry", :locals => { :entry => entry } %>
      <% end %>
    <% } %>
  </div>
<% end %>

<hr>
{'fraction_non_alphanumeric': 0.23031262366442423, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 3.4195804195804196, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 117, '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': '3428468', 'n_tokens_mistral': 1015, 'n_tokens_neox': 916, 'n_words': 177}