<commit_before><%

block = view(:layout, :block).new

new_button = view(:component, :button).new(title: 'Create new project',
url: lato_swpmanager.new_project_path, size: :small)

actionbar = view(:layout, :actionbar).new(title: "Projects", widgets: [
    {component: new_button, align: :right}
  ])

index = view(:layout, :index).new(head: ['Title', 'Deadline'], elements: @projects, attributes: [:title, :string_deadline],
link: lato_swpmanager.projects_path, show_link: true, edit_link: true, delete_link: true)

%>

<%=raw actionbar %>

<div class="content-row">
  <%=raw block.open %>

      <%=raw index %>

      <%= will_paginate @projects,  previous_label: '←',  next_label: '→' %>

  <%=raw block.close %>
</div><commit_msg>auto-commit<commit_after><%

block = view(:layout, :block).new

new_button = view(:component, :button).new(title: 'Create new project',
url: lato_swpmanager.new_project_path, size: :small)

actionbar = view(:layout, :actionbar).new(title: "Projects", widgets: [
    {component: new_button, align: :right}
  ])

index = view(:layout, :index).new(head: ['Title', 'Deadline', 'Project manager'], elements: @projects, attributes: [:title, :string_deadline, :string_superuser_manager_name],
link: lato_swpmanager.projects_path, show_link: true, edit_link: true, delete_link: true)

%>

<%=raw actionbar %>

<div class="content-row">
  <%=raw block.open %>

      <%=raw index %>

      <%= will_paginate @projects,  previous_label: '←',  next_label: '→' %>

  <%=raw block.close %>
</div>
{'fraction_non_alphanumeric': 0.1845748187211602, 'fraction_numerical': 0.0, 'mean_word_length': 5.515021459227468, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5391578', 'n_tokens_mistral': 554, 'n_tokens_neox': 529, 'n_words': 118}