<commit_before><div class="page-header">
  <h1>Edit Guild</h1>
</div>

<%= render partial: 'manage_guild_tab', locals: { tab: '' } %>

<div class="row-fluid">
  <%= form_for [@course,@guild], :url => { :action => 'edit' }, :html => { :class => 'form-horizontal' } do |f| %>
      <div class="control-group">
        <%= f.label :name, :class => 'control-label' %>
        <div class="controls">
          <%= f.text_field :name, :class => 'text_field span10' %>
        </div>
      </div>
      <div class="control-group">
        <%= f.label :description, :class => 'control-label' %>
        <div class="controls">
          <%= f.text_area :description, :class => 'text_area span10 html-editor', :rows => 10 %>
        </div>
      </div>
      <div class="form-actions">
        <%= f.submit 'Update Guild', :class => 'btn btn-primary' %>
        <%= link_to t('.cancel',
                      :default => t("helpers.links.cancel")),
                    course_guild_path,
                    :class => 'btn'%>
      </div>
  <% end %>

  <%= render partial: 'layouts/html_editor' %>
</div><commit_msg>Used _form for the edit route<commit_after><div class="page-header">
  <h1>Edit Guild</h1>
</div>

<%= render partial: 'manage_guild_tab', locals: { tab: '' } %>
<%= render partial: 'form', locals: { action: 'edit' } %>

{'fraction_non_alphanumeric': 0.21100226073850792, 'fraction_numerical': 0.007535795026375283, 'mean_word_length': 2.5891891891891894, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 47, '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': '1854665', 'n_tokens_mistral': 477, 'n_tokens_neox': 439, 'n_words': 96}