<commit_before><%- model_class = MaterialFolder -%>
<div class="page-header">
  <h1>Materials: <%= @folder.name %></h1>
  <%
  current = @folder
  parents = []
  while current do
    parents << current
    current = current.parent_folder
  end

  parents.reverse_each { |folder|
  %>/<%= link_to folder.name, course_material_folder_path(@course, folder) %><% } %>
</div>
<% if @folder.description %>
<div>
<h2 class="materials-description-title">Folder Description</h2>
  <p><%= @folder.description %></p>
  <hr />
</div>
<% end %>
<div class="container">
  <div class="span2">
    <%= render :partial => 'folder_tree' %>
  </div>
  <div class="span7">
  <div>
    <% if can? :manage, Material %>
    <%= render :partial => 'folder_controls' %>
    <% end %>
  </div>
  <div>
    <p></p>
  </div>
  <%= render :partial => 'folder_listing' %>
  </div>
</div><commit_msg>Move folder controls above tree for consistency with IVLE. Heh.<commit_after><%- model_class = MaterialFolder -%>
<div class="page-header">
  <h1>Materials: <%= @folder.name %></h1>
  <%
  current = @folder
  parents = []
  while current do
    parents << current
    current = current.parent_folder
  end

  parents.reverse_each { |folder|
  %>/<%= link_to folder.name, course_material_folder_path(@course, folder) %><% } %>
</div>
<% if @folder.description %>
<div>
<h2 class="materials-description-title">Folder Description</h2>
  <p><%= @folder.description %></p>
  <hr />
</div>
<% end %>
<div class="container">
  <div class="span2">
    <div>
      <% if can? :manage, Material %>
      <%= render :partial => 'folder_controls' %>
      <% end %>
    </div>
    <div>
      <p></p>
    </div>
    <%= render :partial => 'folder_tree' %>
  </div>
  <div class="span7">
  <%= render :partial => 'folder_listing' %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.2073170731707317, 'fraction_numerical': 0.0066518847006651885, 'mean_word_length': 3.467821782178218, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 81, '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': '2250585', 'n_tokens_mistral': 678, 'n_tokens_neox': 625, 'n_words': 140}