<commit_before>{% extends 'base/layout.html' %}
{% load helpers %}
{% load form_helpers %}

{% block title %}{{ obj_type|bettertitle }} Bulk Import{% endblock %}

{% block content %}
    <div class="row">
        <div class="col col-md-8 offset-md-2">
            <ul class="nav nav-tabs mb-3" role="tablist">
                <li class="nav-item" role="presentation">
                    <a href="#csv" class="nav-link active" role="tab" data-bs-toggle="tab">CSV</a>
                </li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="csv">
                    <form action="" method="post" class="form">
                        {% csrf_token %}
                        {% render_form form %}
                        <div class="form-group">
                            <div class="col col-md-12 text-end">
                                {% if return_url %}
                                    <a href="{{ return_url }}" class="btn btn-outline-danger">Cancel</a>
                                {% endif %}
                                <button type="submit" class="btn btn-primary">Submit</button>
                            </div>
                        </div>
                    </form>
                    {% if fields %}
                    <div class="row my-3"><commit_msg>#6372: Page should be full-width at 1280px<commit_after>{% extends 'base/layout.html' %}
{% load helpers %}
{% load form_helpers %}

{% block title %}{{ obj_type|bettertitle }} Bulk Import{% endblock %}

{% block content %}
    <div class="row">
        <div class="col col-md-12 col-xl-8 offset-xl-2">
            <ul class="nav nav-tabs mb-3" role="tablist">
                <li class="nav-item" role="presentation">
                    <a href="#csv" class="nav-link active" role="tab" data-bs-toggle="tab">CSV</a>
                </li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="csv">
                    <form action="" method="post" class="form">
                        {% csrf_token %}
                        {% render_form form %}
                        <div class="form-group">
                            <div class="col col-md-12 text-end">
                                {% if return_url %}
                                    <a href="{{ return_url }}" class="btn btn-outline-danger">Cancel</a>
                                {% endif %}
                                <button type="submit" class="btn btn-primary">Submit</button>
                            </div>
                        </div>
                    </form>
                    {% if fields %}
                    <div class="row my-3">
{'fraction_non_alphanumeric': 0.14885910901847157, 'fraction_numerical': 0.00796812749003984, 'mean_word_length': 1.2437043054427295, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6123464', 'n_tokens_mistral': 790, 'n_tokens_neox': 707, 'n_words': 160}