<commit_before>{% extends "base_form_lv0.html" %}
{% load i18n %}
{% load static %}
{% load pagination_tags %}
{% load widget_tweaks %}
{% load inctag_toolbars %}

{% block page_title %}{% trans "Journal" %}{% endblock %}

{% block extrahead %}
   <link rel="stylesheet" type="text/css" href="{% get_static_prefix %}css/sidebar.css"/>
{% endblock %}


{% block shortaccess %}
<ul id="slide-out-div" >
  <li><a href="#title">{% trans 'Title' %}</a></li>
    <li><a href="#other_title">{% trans 'Other Titles' %}</a></li>
    <li><a href="#issn">{% trans 'ISSN' %}</a></li>
    <li><a href="#subject">{% trans 'Subjects' %}</a></li>
    <li><a href="#mission">{% trans 'Mission' %}</a></li>
    <li><a href="#languages">{% trans 'Languages' %}</a></li>
    <li><a href="#system_information">{% trans 'System Information' %}</a></li>
    <li><a href="#web_of_science">{% trans 'Web of Science' %}</a></li>
    <li><a href="#license">{% trans 'Licenses' %}</a></li>
    <li><a href="#formal_information">{% trans 'Formal Information' %}</a></li>
    <li><a href="#publisher">{% trans "Publisher" %}</a></li>
    <li><a href="#sponsors">{% trans "Sponsors" %}</a></li>
    <li><a href="#editor">{% trans "Editor" %}</a></li>
    <li><a href="#social_network">{% trans "Social Network" %}</a></li>
    <li><a href="#further_information">{% trans 'Further Information' %}</a></li>
    <li><a href="#images">{% trans 'Images' %}</a></li>
</ul>

{% endblock %}

{% block messages %}
  {% if add_form.errors or add_form.non_field_errors %}
  <div class="alert alert-error">
    <button class="close" data-dismiss="alert" type="button">&times;</button>
    <ul>
      {% for field in add_form %}
        {% if field.errors %}
          <li>{{ field.label }}</li>
        {% endif %}
      {% endfor %}
      {% for errors in add_form.non_field_errors %}
        <li>{{ errors }}</li>
      {% endfor %}
    </ul>
  </div>
  {% endif %}
{% endblock%}

{% block form_content %}
  {% journaldash_toolbar 'journal' journal user %}
  {% if request.GET.resume %}
    <form id="journal-form"
          method="post"
          action="{% url journal.add %}"
          enctype="multipart/form-data"
          class="form-horizontal">
  {% else %}
    <form id="journal-form"
          method="post"
          action=""
          enctype="multipart/form-data"
          class="form-horizontal">
  {% endif %}
  {% csrf_token %}
  <input type="hidden" name="form_hash" value="{{form_hash}}"/>
  <h2><a name="title"></a>{% trans "Titles" %}:</h2>
  <div class="well">

    {% with add_form.title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.title_iso as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.short_title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.medline_title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.previous_title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

  </div>

  <h2><a name="other_title"></a>{% trans "Other Titles" %}:</h2><commit_msg>fix #839<commit_after>{% extends "base_form_lv0.html" %}
{% load i18n %}
{% load static %}
{% load pagination_tags %}
{% load widget_tweaks %}
{% load inctag_toolbars %}

{% block page_title %}{% trans "Journal" %}{% endblock %}

{% block extrahead %}
   <link rel="stylesheet" type="text/css" href="{% get_static_prefix %}css/sidebar.css"/>
{% endblock %}


{% block shortaccess %}
<ul id="slide-out-div" >
  <li><a href="#title">{% trans 'Title' %}</a></li>
    <li><a href="#other_title">{% trans 'Other Titles' %}</a></li>
    <li><a href="#issn">{% trans 'ISSN' %}</a></li>
    <li><a href="#subject">{% trans 'Subjects' %}</a></li>
    <li><a href="#mission">{% trans 'Mission' %}</a></li>
    <li><a href="#languages">{% trans 'Languages' %}</a></li>
    <li><a href="#system_information">{% trans 'System Information' %}</a></li>
    <li><a href="#web_of_science">{% trans 'Web of Science' %}</a></li>
    <li><a href="#license">{% trans 'Licenses' %}</a></li>
    <li><a href="#formal_information">{% trans 'Formal Information' %}</a></li>
    <li><a href="#publisher">{% trans "Publisher" %}</a></li>
    <li><a href="#sponsors">{% trans "Sponsors" %}</a></li>
    <li><a href="#editor">{% trans "Editor" %}</a></li>
    <li><a href="#social_network">{% trans "Social Network" %}</a></li>
    <li><a href="#further_information">{% trans 'Further Information' %}</a></li>
    <li><a href="#images">{% trans 'Images' %}</a></li>
</ul>

{% endblock %}

{% block messages %}
  {% if add_form.errors or add_form.non_field_errors %}
  <div class="alert alert-error">
    <button class="close" data-dismiss="alert" type="button">&times;</button>
    <ul>
      {% for field in add_form %}
        {% if field.errors %}
          <li>{{ field.label }}</li>
        {% endif %}
      {% endfor %}
      {% for errors in add_form.non_field_errors %}
        <li>{{ errors }}</li>
      {% endfor %}
    </ul>
  </div>
  {% endif %}
{% endblock%}

{% block form_content %}
  {% journaldash_toolbar 'journal' journal user %}
  {% if request.GET.resume %}
    <form id="journal-form"
          method="post"
          action="{% url journal.add %}"
          enctype="multipart/form-data"
          class="form-horizontal">
  {% else %}
    <form id="journal-form"
          method="post"
          action=""
          enctype="multipart/form-data"
          class="form-horizontal">
  {% endif %}
  {% csrf_token %}
  <input type="hidden" name="form_hash" value="{{form_hash}}"/>
  <h2><a name="title"></a>{% trans "Titles" %}:</h2>
  <div class="well">

    {% with add_form.title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.title_iso as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.short_title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.medline_title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    {% with add_form.previous_title as field %}
      {% include "journalmanager/includes/form_field_row.html" %}
    {% endwith %}

    <div id="other_previous_title" class="control-group {% if add_form.other_previous_title.errors %}error{% endif %}">
      <label
        for="{{ add_form.other_previous_title.auto_id }}"
        class="control-label {% if field.field.required %} req-field {% endif %}">
          {% trans add_form.other_previous_title.label %}
      </label>
      <div class="controls">
        {{ add_form.other_previous_title }}
        {% field_help add_form.other_previous_title.label add_form.other_previous_title.help_text term-previous-title %}
      </div>
    </div>

  </div>

  <h2><a name="other_title"></a>{% trans "Other Titles" %}:</h2>
{'fraction_non_alphanumeric': 0.21702486304256216, 'fraction_numerical': 0.002387975839303273, 'mean_word_length': 3.3788437884378846, 'pattern_counts': {'":': 0, '<': 189, '<?xml version=': 0, '>': 189, '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': '2144731', 'n_tokens_mistral': 2636, 'n_tokens_neox': 2367, 'n_words': 497}