<commit_before>{% extends "PMTWebBundle::layout.html.twig" %}

{% block head_additions %}
    {{ parent() }}
    <link href="{{ asset('bundles/pmtweb/js/select2/select2.css') }}" rel="stylesheet" />
    <script src="{{ asset('bundles/pmtweb/js/select2/select2.min.js') }}"></script>

{% endblock %}

{% block content %}

    <div class="row">
        <div class="span8">
            <h1>New issue</h1>
        </div>
    </div>

    <div class="row">
        {{ form_errors(form) }}
        <form action="{{ path('issue_form') }}" method="post" {{ form_enctype(form) }}>
            <div class="span8">
                <div class="accordion">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" href="#accordion_details">
                                Details
                            </a>
                        </div>
                        <div id="accordion_details" class="accordion-body collapse in">
                            <div class="accordion-inner">

                                <div class="control-group">
                                    <label class="control-label" for="summary">
                                        {{ form_label(form.summary) }}
                                    </label>

                                    <div class="controls row-fluid">
                                        {{ form_widget(form.summary, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label" for="type">
                                        {{ form_label(form.description) }}
                                    </label>

                                    <div class="controls row-fluid">
                                        {{ form_widget(form.description, {'attr': {'class': 'span12', 'rows': '10' }}) }}
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="type">
                                        {{ form_label(form.tags) }}
                                    </label>

                                    <div class="controls row-fluid">
                                        {{ form_widget(form.tags, {'attr': {'class': 'span12'}}) }}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="span4">
                <div class="accordion">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" href="#accordion_meta">
                                Meta
                            </a>
                        </div>
                        <div id="accordion_meta" class="accordion-body collapse in">
                            <div class="accordion-inner">
                                <div class="control-group">
                                    <div class="control-label">
                                        {{ form_label(form.project) }}
                                    </div>
                                    <div class="controls row-fluid">
                                        {{ form_widget(form.project, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                                <div class="control-group">
                                    <div class="control-label">
                                        {{ form_label(form.type) }}
                                    </div>
                                    <div class="controls row-fluid">
                                        {{ form_widget(form.type, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                                <div class="control-group">
                                    <div class="control-label">
                                        {{ form_label(form.priority) }}
                                    </div>
                                    <div class="controls row-fluid">
                                        {{ form_widget(form.priority, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="accordion">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" href="#accordion_people">
                                People
                            </a>
                        </div>
                        <div id="accordion_people" class="accordion-body collapse in">
                            <div class="accordion-inner">
                                <div class="control-group">
                                    <label class="control-label" for="owner">
                                        owner
                                    </label>

                                    <div class="controls row-fluid">
                                        <select name="" id="owner" class="span12"></select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>
            <div class="span12">
                <div class="form-actions">
                    <div class="form-horizontal">
                        <div class="pull-right">
                            <button type="submit" class="btn btn-primary">Save changes</button>
                            <button type="button" class="btn">Cancel</button>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="rebuild">
                                {{ form_label(form.rebuild) }}
                            </label>

                            <div class="controls">
                                {{ form_widget(form.rebuild) }}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {{ form_rest(form) }}
        </form>
<commit_msg>Add back action to issue form cancel.<commit_after>{% extends "PMTWebBundle::layout.html.twig" %}

{% block head_additions %}
    {{ parent() }}
    <link href="{{ asset('bundles/pmtweb/js/select2/select2.css') }}" rel="stylesheet" />
    <script src="{{ asset('bundles/pmtweb/js/select2/select2.min.js') }}"></script>

{% endblock %}

{% block content %}

    <div class="row">
        <div class="span8">
            <h1>New issue</h1>
        </div>
    </div>

    <div class="row">
        {{ form_errors(form) }}
        <form action="{{ path('issue_form') }}" method="post" {{ form_enctype(form) }}>
            <div class="span8">
                <div class="accordion">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" href="#accordion_details">
                                Details
                            </a>
                        </div>
                        <div id="accordion_details" class="accordion-body collapse in">
                            <div class="accordion-inner">

                                <div class="control-group">
                                    <label class="control-label" for="summary">
                                        {{ form_label(form.summary) }}
                                    </label>

                                    <div class="controls row-fluid">
                                        {{ form_widget(form.summary, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label" for="type">
                                        {{ form_label(form.description) }}
                                    </label>

                                    <div class="controls row-fluid">
                                        {{ form_widget(form.description, {'attr': {'class': 'span12', 'rows': '10' }}) }}
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="type">
                                        {{ form_label(form.tags) }}
                                    </label>

                                    <div class="controls row-fluid">
                                        {{ form_widget(form.tags, {'attr': {'class': 'span12'}}) }}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="span4">
                <div class="accordion">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" href="#accordion_meta">
                                Meta
                            </a>
                        </div>
                        <div id="accordion_meta" class="accordion-body collapse in">
                            <div class="accordion-inner">
                                <div class="control-group">
                                    <div class="control-label">
                                        {{ form_label(form.project) }}
                                    </div>
                                    <div class="controls row-fluid">
                                        {{ form_widget(form.project, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                                <div class="control-group">
                                    <div class="control-label">
                                        {{ form_label(form.type) }}
                                    </div>
                                    <div class="controls row-fluid">
                                        {{ form_widget(form.type, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                                <div class="control-group">
                                    <div class="control-label">
                                        {{ form_label(form.priority) }}
                                    </div>
                                    <div class="controls row-fluid">
                                        {{ form_widget(form.priority, {'attr': {'class': 'span12' }}) }}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="accordion">
                    <div class="accordion-group">
                        <div class="accordion-heading">
                            <a class="accordion-toggle" data-toggle="collapse" href="#accordion_people">
                                People
                            </a>
                        </div>
                        <div id="accordion_people" class="accordion-body collapse in">
                            <div class="accordion-inner">
                                <div class="control-group">
                                    <label class="control-label" for="owner">
                                        owner
                                    </label>

                                    <div class="controls row-fluid">
                                        <select name="" id="owner" class="span12"></select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>
            <div class="span12">
                <div class="form-actions">
                    <div class="form-horizontal">
                        <div class="pull-right">
                            <button type="submit" class="btn btn-primary">Save changes</button>
                            <button type="button" class="btn" onclick="window.history.back();">Cancel</button>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="rebuild">
                                {{ form_label(form.rebuild) }}
                            </label>

                            <div class="controls">
                                {{ form_widget(form.rebuild) }}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {{ form_rest(form) }}
        </form>

{'fraction_non_alphanumeric': 0.11994250808480057, 'fraction_numerical': 0.003880704275961193, 'mean_word_length': 0.7537492123503465, 'pattern_counts': {'":': 0, '<': 231, '<?xml version=': 0, '>': 231, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 132, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6536914', 'n_tokens_mistral': 3090, 'n_tokens_neox': 2813, 'n_words': 519}