<commit_before>{% extends "wagtailadmin/base.html" %}
{% load static i18n %}

{% block content %}
    {% include "wagtailadmin/shared/header.html" with title="API Import" %}

    <div>
        <form action="{% url 'molo_api:test-api-import-view' %}" method="POST">
            {% csrf_token %}
            {{ form }}
            <input type="submit" class="Button" value="{% trans "Get content" %}"/>
        </form>
    </div>

    {% if article_form %}
    <div>
        <form action="{% url 'molo_api:article-import' %}" method="POST">
            {% csrf_token %}
            {{ article_form.as_ul }}
            <input type="submit" class="Button" value="{% trans "Save articles" %}"/>
        </form>
    </div>
    {% endif %}

{% endblock %}
<commit_msg>Removed unused form in templates<commit_after>{% extends "wagtailadmin/base.html" %}
{% load static i18n %}

{% block content %}
    {% include "wagtailadmin/shared/header.html" with title="API Import" %}

    <div>
        <form action="{% url 'molo_api:article-import' %}" method="POST">
            {% csrf_token %}
            {{ form }}
            <input type="submit" class="Button" value="{% trans "Get content" %}"/>
        </form>
    </div>

{% endblock %}

{'fraction_non_alphanumeric': 0.1876523151909017, 'fraction_numerical': 0.003249390739236393, 'mean_word_length': 2.4704225352112674, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '4816393', 'n_tokens_mistral': 424, 'n_tokens_neox': 383, 'n_words': 86}