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

{% load bootstrap_tags %}

{% block content %}
    <h1 class="page-header">{{ operation }}任务: {{ task.name }}</h1>

    <div class="row">
        <div class="col-md-8">
            <form action="" method="post" enctype="multipart/form-data" class="form-vertical">
                {% csrf_token %}
                {{ form|as_bootstrap }}
                <div class="form-actions">
                  <button type="submit" class="btn btn-primary">提交</button>
                </div><commit_msg>增加了编辑、添加任务页面的取消功能。<commit_after>{% extends "base.html" %}

{% load bootstrap_tags %}

{% block content %}
    <h1 class="page-header">{{ operation }}任务: {{ task.name }}</h1>

    <div class="row">
        <div class="col-md-8">
            <form action="" method="post" enctype="multipart/form-data" class="form-vertical">
                {% csrf_token %}
                {{ form|as_bootstrap }}
                <div class="form-actions">
                  <button type="submit" class="btn btn-primary">提交</button>
                  <button type="submit" class="btn btn-danger" onclick="history.back(); return false;">取消</button>
                </div>
{'fraction_non_alphanumeric': 0.18074324324324326, 'fraction_numerical': 0.005067567567567568, 'mean_word_length': 2.2825484764542936, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3729871', 'n_tokens_mistral': 387, 'n_tokens_neox': 363, 'n_words': 68}