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

{% block title %}Tsune - Deck {{ action }}{% endblock %}
{% block content %}
    <div class="row">
        <div class="col-md-12">
            <div class="jumbotron">
                <form method="post">{% csrf_token %}
                    <h1>Deck {{ action }}</h1>
                    <div class="form-group">
                        <label class="form-label">Titel</label>
                        {{ form.title }}
                        <label class="form-label">Beschreibung</label>
                        {{ form.description }}
                        <a href="#">Weitere Einstellungen...</a>
                    </div>
                    <div class="row">
                        <div class="col-md-4">
                            <input type="submit" onclick="this.disabled=true,this.form.submit();"
                                   value="{{ button_text }}" class="btn btn-primary"/>
                        </div>
                        <div class="col-md-4" style="text-align:center">
                            <a class="btn btn-primary">Vorschau</a>
                        </div>
                        <div class="col-md-4"><commit_msg>Add error reporting to deck edit/update view<commit_after>{% extends "cardbox/base.html" %}

{% block title %}Tsune - Deck {{ action }}{% endblock %}
{% block content %}
    <div class="row">
        <div class="col-md-12">
            <div class="jumbotron">
                {% if form.errors %}
                    <div class="alert alert-danger alert-dismissable">
                        <button type="button" class="close" data-dismiss="alert">&times;</button>
                        <b>Fehler!</b>
                    </div>
                {% endif %}
                <form method="post">{% csrf_token %}
                    <h1>Deck {{ action }}</h1>
                    <div class="form-group">
                        <label class="form-label">Titel</label>
                        {{ form.title }}
                        <label class="form-label">Beschreibung</label>
                        {{ form.description }}
                        <a href="#">Weitere Einstellungen...</a>
                    </div>
                    <div class="row">
                        <div class="col-md-4">
                            <input type="submit" onclick="this.disabled=true,this.form.submit();"
                                   value="{{ button_text }}" class="btn btn-primary"/>
                        </div>
                        <div class="col-md-4" style="text-align:center">
                            <a class="btn btn-primary">Vorschau</a>
                        </div>
                        <div class="col-md-4">
{'fraction_non_alphanumeric': 0.1510738987986895, 'fraction_numerical': 0.005096468875136513, 'mean_word_length': 1.1740506329113924, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4220286', 'n_tokens_mistral': 745, 'n_tokens_neox': 681, 'n_words': 130}