<commit_before><%= form_for(@contribution_container_form, as: :contribution_container, url: @contribution_container_form.persisted? ? admin_participation_process_contribution_container_path(@contribution_container_form) : :admin_participation_process_contribution_containers, data: { "globalized-form-container" => true }) do |f| %>
  <div class="pure-g">
    <div class="pure-u-1 pure-u-md-16-24">
      <div class="globalized_fields">
        <%= render "gobierto_admin/shared/form_locale_switchers" %>

        <% current_site.configuration.available_locales.each do |locale| %>
          <div class="form_item input_text" data-locale="<%= locale %>">
            <%= label_tag "contribution_container[title_translations][#{locale}]", f.object.class.human_attribute_name(:title) %>
            <%= text_field_tag "contribution_container[title_translations][#{locale}]", f.object.title_translations && f.object.title_translations[locale], placeholder: t(".placeholders.title", locale: locale.to_sym) %>
          </div>

          <div class="form_item textarea" data-locale="<%= locale %>">
            <%= label_tag "contribution_container[description_translations][#{locale}]", f.object.class.human_attribute_name(:description) %>
            <%= text_field_tag "contribution_container[description_translations][#{locale}]", f.object.description_translations && f.object.description_translations[locale], placeholder: t(".placeholders.description", locale: locale.to_sym) %>
          </div>
        <% end %>

      </div>

      <div class="form_item select_control">
        <%= f.label :contribution_type %>
        <%= f.select(:contribution_type, [['Idea', 'idea'], ['Question', 'question'], ['Proposal', 'proposal']], { include_blank: '-' }) %>
      </div>

      <div class="pure-g">
        <div class="pure-u-1 pure-u-md-1-2 p_h_r_1">
          <div class="form_item input_text">
            <%= f.label :starts %>
            <%= f.text_field :starts, data: {
                "language": I18n.locale,
                "date-format": "yyyy-mm-dd",
                "startDate": format_time(f, :starts)
              },
              class: "air-datepicker",
              readonly: !Rails.env.test?
            %>
          </div>
        </div>

        <div class="pure-u-1 pure-u-md-1-2">
          <div class="form_item input_text">
            <%= f.label :ends %>
            <%= f.text_field :ends, data: {
                "language": I18n.locale,<commit_msg>Use text area<commit_after><%= form_for(@contribution_container_form, as: :contribution_container, url: @contribution_container_form.persisted? ? admin_participation_process_contribution_container_path(@contribution_container_form) : :admin_participation_process_contribution_containers, data: { "globalized-form-container" => true }) do |f| %>
  <div class="pure-g">
    <div class="pure-u-1 pure-u-md-16-24">
      <div class="globalized_fields">
        <%= render "gobierto_admin/shared/form_locale_switchers" %>

        <% current_site.configuration.available_locales.each do |locale| %>
          <div class="form_item input_text" data-locale="<%= locale %>">
            <%= label_tag "contribution_container[title_translations][#{locale}]", f.object.class.human_attribute_name(:title) %>
            <%= text_field_tag "contribution_container[title_translations][#{locale}]", f.object.title_translations && f.object.title_translations[locale], placeholder: t(".placeholders.title", locale: locale.to_sym) %>
          </div>

          <div class="form_item textarea" data-locale="<%= locale %>">
            <%= label_tag "contribution_container[description_translations][#{locale}]", f.object.class.human_attribute_name(:description) %>
            <%= text_area_tag "contribution_container[description_translations][#{locale}]", f.object.description_translations && f.object.description_translations[locale], placeholder: t(".placeholders.description", locale: locale.to_sym) %>
          </div>
        <% end %>

      </div>

      <div class="form_item select_control">
        <%= f.label :contribution_type %>
        <%= f.select(:contribution_type, [['Idea', 'idea'], ['Question', 'question'], ['Proposal', 'proposal']], { include_blank: '-' }) %>
      </div>

      <div class="pure-g">
        <div class="pure-u-1 pure-u-md-1-2 p_h_r_1">
          <div class="form_item input_text">
            <%= f.label :starts %>
            <%= f.text_field :starts, data: {
                "language": I18n.locale,
                "date-format": "yyyy-mm-dd",
                "startDate": format_time(f, :starts)
              },
              class: "air-datepicker",
              readonly: !Rails.env.test?
            %>
          </div>
        </div>

        <div class="pure-u-1 pure-u-md-1-2">
          <div class="form_item input_text">
            <%= f.label :ends %>
            <%= f.text_field :ends, data: {
                "language": I18n.locale,
{'fraction_non_alphanumeric': 0.16091954022988506, 'fraction_numerical': 0.006452913893930228, 'mean_word_length': 3.016194331983806, 'pattern_counts': {'":': 8, '<': 69, '<?xml version=': 0, '>': 69, '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': '7665975', 'n_tokens_mistral': 1625, 'n_tokens_neox': 1502, 'n_words': 231}