<commit_before><div>
  <h2><%= milestone.title %></h2>
  <% if milestone.description %>
    <p>
      <%= milestone.description.html_safe %>
    </p>
  <% end %>
  <% if (can? :manage, LessonPlanEntry) && milestone.is_virtual != true %>
      <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), class: 'btn' do %>
        <i class="icon-edit"></i>
      <% end %>
      <%= link_to course_lesson_plan_milestone_path(@course, milestone),
            method: :delete,
            data: { confirm: t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
            class: 'btn btn-danger' do %>
          <i class="icon-trash"></i>
      <% end %>
  <% end %>
  <table class="table">
    <tbody>
    <% entries = milestone.entries.sort { |a, b| a.start_at <=> b.start_at } %>
    <% entries.each {|entry| %>
    <%= render :partial => 'lesson_plan/entry', locals: { :entry => entry } %>
    <% } %>
    </tbody>
  </table>
</div><commit_msg>Move milestone Edit/Delete buttons to right. Using table :|<commit_after><div>
  <table class="table-top-align">
    <tr>
      <td>
      <h2><%= milestone.title %></h2>
      <% if milestone.description %>
      <p>
        <%= milestone.description.html_safe %>
      </p>
      <% end %>
      </td>
      <td width="10%">
        <% if (can? :manage, LessonPlanEntry) && milestone.is_virtual != true %>
          <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), class: 'btn' do %>
            <i class="icon-edit"></i>
          <% end %>
          <%= link_to course_lesson_plan_milestone_path(@course, milestone),
                method: :delete,
                data: { confirm: t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
                class: 'btn btn-danger' do %>
              <i class="icon-trash"></i>
          <% end %>
      </td>
    <% end %>
  </table>
  <table class="table">
    <tbody>
    <% entries = milestone.entries.sort { |a, b| a.start_at <=> b.start_at } %>
    <% entries.each {|entry| %>
    <%= render :partial => 'lesson_plan/entry', locals: { :entry => entry } %>
    <% } %>
    </tbody>
  </table>
</div>
{'fraction_non_alphanumeric': 0.19745222929936307, 'fraction_numerical': 0.00272975432211101, 'mean_word_length': 2.4305772230889238, 'pattern_counts': {'":': 0, '<': 68, '<?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': '4216614', 'n_tokens_mistral': 791, 'n_tokens_neox': 714, 'n_words': 150}