<commit_before>{% extends "submission/base.html" %}

{% load i18n %}

{% block title %}{% trans "Tags" %}{% endblock %}
{% block body_class %}{{ block.super }} tags{% endblock %}

{% block header %}
<h1>
  {% trans "New submission tags" %}
  {% with process=activation.process %}
  <a href="{% url 'submission:detail' process_pk=process.pk %}">
    #{{ process.id }}
  </a>
  {% endwith %}
</h1>
{% endblock %}

{% block step_content %}
  <div class="actions-wrapper">

    <form method="post" enctype="multipart/form-data">
      {% csrf_token %}

      {% include "foundation/non_field_errors.html" %}

      <div class="submission-tags">
        <div class="experiment-tags">
          <h4>{% trans "Experiment tags" %}</h4>

          {% with field=form.experiment_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}

          {% with field=form.new_experiment_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}
        </div>

        <div class="analysis-tags">
          <h4>{% trans "Analysis tags" %}</h4>

          {% with field=form.analysis_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}

          {% with field=form.new_analysis_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}
        </div>
      </div>

      {% with field=form.tags %}
        {% include "foundation/field.html" %}
      {% endwith %}

      {{ activation.management_form }}

      <div class="form-actions">
        <input type="submit" name="_continue" value="{% trans "Add tags" %}" class="button" />
      </div>
    </form>
  </div>
{% endblock step_content %}<commit_msg>Improve submission tags submit button semantic<commit_after>{% extends "submission/base.html" %}

{% load i18n %}

{% block title %}{% trans "Tags" %}{% endblock %}
{% block body_class %}{{ block.super }} tags{% endblock %}

{% block header %}
<h1>
  {% trans "New submission tags" %}
  {% with process=activation.process %}
  <a href="{% url 'submission:detail' process_pk=process.pk %}">
    #{{ process.id }}
  </a>
  {% endwith %}
</h1>
{% endblock %}

{% block step_content %}
  <div class="actions-wrapper">

    <form method="post" enctype="multipart/form-data">
      {% csrf_token %}

      {% include "foundation/non_field_errors.html" %}

      <div class="submission-tags">
        <div class="experiment-tags">
          <h4>{% trans "Experiment tags" %}</h4>

          {% with field=form.experiment_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}

          {% with field=form.new_experiment_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}
        </div>

        <div class="analysis-tags">
          <h4>{% trans "Analysis tags" %}</h4>

          {% with field=form.analysis_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}

          {% with field=form.new_analysis_tags %}
            {% include "foundation/field.html" %}
          {% endwith %}
        </div>
      </div>

      {% with field=form.tags %}
        {% include "foundation/field.html" %}
      {% endwith %}

      {{ activation.management_form }}

      <div class="form-actions">
        <input
          type="submit"
          name="_continue"
          value="{% trans "Submit all tags" %}"
          class="button"
        />
      </div>
    </form>
  </div>
{% endblock step_content %}
{'fraction_non_alphanumeric': 0.178468624064479, 'fraction_numerical': 0.004605641911341394, 'mean_word_length': 2.2813975448536357, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '6978312', 'n_tokens_mistral': 1200, 'n_tokens_neox': 1053, 'n_words': 214}