<commit_before>{% extends "fpr/app_layout.html" %}
{% load url from future %}
{% load staticfiles %}

{% block title %}Archivematica FPR Server - {{ action }} ID Tool Confguration{% endblock title %}

{% block page_title %}
{{ action }} ID Tool Configuration
{% endblock page_title %}

{% block extra_css %}
<style type="text/css">
#config_command_form {
  margin-left: 2em;
}
</style>
{% endblock %}

{% block breadcrumbs %}
{{ block.super }}
<li><a href="{% url 'idtool_list' %}">ID Tools</a></li>
<li><a href="{% url 'idtool_detail' idtool.slug %}">{{ idtool.description }}</a></li>
<li>{{ action }} ID Tool Configuration</li>
{% endblock breadcrumbs %}

{% block app_content %}

<div class="row">

  {% include 'fpr/_sidebar.html' %}

  <div class="span10">

    <div class='format'>
    {% if version %}
      <form action="{% url 'idtool_config_edit' idtool.slug config.slug %}" method="post">
    {% else %}
      <form action="{% url 'idtool_config_create' idtool.slug %}" method="post">
    {% endif %}
        {% csrf_token %}
        <p>Format: {{ idtool.description }}</p>
        {{ form.as_p }}
        <div id='config_command_form'>
          {{ config_command_form.as_p }}
        </div>
        <input type="submit" value="{{ action }}" />
      </form>
    </div>

  </div> <!-- /span10 -->
</div> <!-- /row -->

{% endblock app_content %}

{% block extra_js %}
<script type="text/javascript">

function display_extra_form() {
  val = $("#id_command option:selected").val();
  if (val == 'new') {
    $('#config_command_form').show();
  } else {
    $('#config_command_form').hide();
  }
}

$(document).ready(function () {
  display_extra_form();
  $("#id_command").change(function () {display_extra_form();});
});

</script>
{% endblock %}
<commit_msg>Minor template fix.<commit_after>{% extends "fpr/app_layout.html" %}
{% load url from future %}
{% load staticfiles %}

{% block title %}Archivematica FPR Server - {{ action }} ID Tool Confguration{% endblock title %}

{% block page_title %}
{{ action }} ID Tool Configuration
{% endblock page_title %}

{% block extra_css %}
{{ block.super }}
<style type="text/css">
#config_command_form {
  margin-left: 2em;
}
</style>
{% endblock %}

{% block breadcrumbs %}
{{ block.super }}
<li><a href="{% url 'idtool_list' %}">ID Tools</a></li>
<li><a href="{% url 'idtool_detail' idtool.slug %}">{{ idtool.description }}</a></li>
<li>{{ action }} ID Tool Configuration</li>
{% endblock breadcrumbs %}

{% block app_content %}

<div class="row">

  {% include 'fpr/_sidebar.html' %}

  <div class="span10">

    <div class='format'>
    {% if version %}
      <form action="{% url 'idtool_config_edit' idtool.slug config.slug %}" method="post">
    {% else %}
      <form action="{% url 'idtool_config_create' idtool.slug %}" method="post">
    {% endif %}
        {% csrf_token %}
        <p>Format: {{ idtool.description }}</p>
        {{ form.as_p }}
        <div id='config_command_form'>
          {{ config_command_form.as_p }}
        </div>
        <input type="submit" value="{{ action }}" />
      </form>
    </div>

  </div> <!-- /span10 -->
</div> <!-- /row -->

{% endblock app_content %}

{% block extra_js %}
<script type="text/javascript">

function display_extra_form() {
  val = $("#id_command option:selected").val();
  if (val == 'new') {
    $('#config_command_form').show();
  } else {
    $('#config_command_form').hide();
  }
}

$(document).ready(function () {
  display_extra_form();
  $("#id_command").change(function () {display_extra_form();});
});

</script>
{% endblock %}

{'fraction_non_alphanumeric': 0.21200224340998317, 'fraction_numerical': 0.0028042624789680315, 'mean_word_length': 3.561381074168798, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '5815206', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1193, 'n_words': 261}