<commit_before><div class="folio">
<div class="container clearfix">
<button id="view-toggle" type="button" class="waves-effect waves-light btn right clearfix">Toggle Controls</button>
<!-- <button id="view-toggle" type="button" class="waves-effect waves-light btn right clearfix">Grid</button> -->
<% #TODO: Title alsways shows up as title of first folio %>
<h1 class="header"><%= @folio.title %></h1>
<script>
  REGISTRY = { folio_id: "<%= @folio.id %>" }
</script>
<p id="notice"><%= notice %></p>

<button id="add-element" type="button">Add Element</button>

<div class="row">
  <div class="col s12 m12 elements" id="container">
    <% @elements.each do |element| %>
      <%= render "elements/element", element: element %>
    <% end %>
  </div>
  <!-- <i class="material-icons">grid on</i> -->

  <!-- <div class="col s12 m4" id="sidebar"> -->

  <div class="col s12 m3" id="sidebar">
    <%= render "elements/form"  %>
    <button id='delete'>Delete Element</button>
  </div>
</div>

</div><commit_msg>Update Add Element Button.<commit_after><div class="folio">
<div class="container clearfix">
<!-- <button id="view-toggle" type="button" class="waves-effect waves-light btn right clearfix">Toggle Controls</button> -->
<% #TODO: Title alsways shows up as title of first folio %>
<h1 class="header"><%= @folio.title %></h1>
<script>
  REGISTRY = { folio_id: "<%= @folio.id %>" }
</script>
<p id="notice"><%= notice %></p>

<button id="add-element" type="button" class="waves-effect waves-light btn right clearfix">Add Element</button>

<div class="row">
  <div class="col s12 m12 elements" id="container">
    <% @elements.each do |element| %>
      <%= render "elements/element", element: element %>
    <% end %>
  </div>
  <!-- <i class="material-icons">grid on</i> -->

  <!-- <div class="col s12 m4" id="sidebar"> -->

  <div class="col s12 m3" id="sidebar">
    <%= render "elements/form"  %>
    <button id='delete'>Delete Element</button>
  </div>
</div>

</div>
{'fraction_non_alphanumeric': 0.21710526315789475, 'fraction_numerical': 0.012145748987854251, 'mean_word_length': 4.314516129032258, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '3602707', 'n_tokens_mistral': 698, 'n_tokens_neox': 653, 'n_words': 173}