<commit_before><%= form_for(@event, :html => {:multipart => true}) do |f| %>
  <% if @event.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>
      <ul>
        <% @event.errors.full_messages.each do |msg| %>
          <li><%= msg %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %> <small class="vermelho">*</small><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <p class="count_hint" id="name_hint"></p>
  </div>

  <div class="field">
    <%= f.label :description %> <small class="vermelho">*</small><br />
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <p class="count_hint" id="description_hint"></p>
  </div>

  <div class="field">
    <%= f.label :occurs_at %> <small class="vermelho">*</small><br />
    <% if @event.new_record? %>
      <%= f.text_field :occurs_at, :class => 'datepicker' %>
    <% else -%>
      <%= f.text_field :occurs_at, :class => 'datepicker', :value => l(@event.occurs_at, :format => :picker) %>
    <% end %>
  </div>

  <div class="field">
    <%= f.label :tags %><br />
    <%= f.text_field :tag_list %>
  </div>

  <div class="field special">
    <%= f.label :prod_description %><br />
    <%= f.text_field :prod_description, :class => 'twitter' %>
  </div>

  <div class="field">
    <%= f.label :twitter %><br />
    <%= f.text_field :twitter, :class => 'twitter' %>
  </div>

  <div class="field">
    <%= f.label :url, 'Website' %><br />
    <%= f.text_field :url, :class => 'url' %>
  </div>

  <div class="field">
    <%= f.label :picture, 'Picture or logo' %><br />
    <%= f.file_field :picture %>
    <%= f.hidden_field :picture_cache %><br/><br/>
    <p>You can crop the picture later by clicking on "crop", in the event's page.</p>
  </div>

  <%= recaptcha_tags %><commit_msg>improving tags exhibition on events show page<commit_after><%= form_for(@event, :html => {:multipart => true}) do |f| %>
  <% if @event.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>
      <ul>
        <% @event.errors.full_messages.each do |msg| %>
          <li><%= msg %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %> <small class="vermelho">*</small><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <p class="count_hint" id="name_hint"></p>
  </div>

  <div class="field">
    <%= f.label :description %> <small class="vermelho">*</small><br />
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <p class="count_hint" id="description_hint"></p>
  </div>

  <div class="field">
    <%= f.label :occurs_at %> <small class="vermelho">*</small><br />
    <% if @event.new_record? %>
      <%= f.text_field :occurs_at, :class => 'datepicker' %>
    <% else -%>
      <%= f.text_field :occurs_at, :class => 'datepicker', :value => l(@event.occurs_at, :format => :picker) %>
    <% end %>
  </div>

  <div class="field">
    <%= f.label :tags %><br />
    <% if @event.new_record? %>
      <%= f.text_field :tag_list %>
    <% else %>
      <%= f.text_field :tag_list, value: @event.tag_list.join(', ') %>
    <% end %>
  </div>

  <div class="field special">
    <%= f.label :prod_description %><br />
    <%= f.text_field :prod_description, :class => 'twitter' %>
  </div>

  <div class="field">
    <%= f.label :twitter %><br />
    <%= f.text_field :twitter, :class => 'twitter' %>
  </div>

  <div class="field">
    <%= f.label :url, 'Website' %><br />
    <%= f.text_field :url, :class => 'url' %>
  </div>

  <div class="field">
    <%= f.label :picture, 'Picture or logo' %><br />
    <%= f.file_field :picture %>
    <%= f.hidden_field :picture_cache %><br/><br/>
    <p>You can crop the picture later by clicking on "crop", in the event's page.</p>
  </div>

  <%= recaptcha_tags %>
{'fraction_non_alphanumeric': 0.23397913561847988, 'fraction_numerical': 0.0009935419771485345, 'mean_word_length': 2.9714003944773175, 'pattern_counts': {'":': 0, '<': 165, '<?xml version=': 0, '>': 183, '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': '6414699', 'n_tokens_mistral': 1612, 'n_tokens_neox': 1467, 'n_words': 320}