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


{% block content %}
    <a data-toggle="modal" href="{{ url_for('case.edit', case_id=case.id) }}" data-target="#myModal">Click me !</a>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                 <h4 class="modal-title">Modal title</h4>

            </div>
            <div class="modal-body"><div class="te"></div></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button type="button" class="btn btn-primary">Save changes</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<div class="container">
<h2 class="text-center">{{ case.case_name|default('Case Not Found') }}</h2>
<div class="panel panel-default">
<div class="panel-heading">
    Core Case Details
{#        <div class="row">#}
{#            <div class="col-lg-11">{{ case['Name']|default("Case Not Found") }}</div>#}
{#            <div class="col-lg-1">#}
{#                <a href="{{ url_for('case.edit', case_id=case.ID)}}" type="button" class="btn btn-default right">Edit</a>#}
{#            </div>#}
{#        </div>#}
{# End Panel Heading#}
</div>

<div class="panel-body">

<div class="row">
    <div class="col-lg-3">
        <table class="table table-condensed table-striped table-bordered">
            <tbody class="">
            <tr>
                <td>Case ID #</td>
                <td>{{ case.id }}</td>
            </tr>
            <tr>
                <td>CRD #</td>
                <td>{{ case.crd_number }}</td>
            </tr>
            <tr>
                <td>Case Type</td>
                <td>{{ case.case_type_id }}</td>
            </tr>
            <tr>
                <td>Region</td>
                <td>{{ case.region_id }}</td>
            </tr>
            <tr>
                <td>Start Date</td>
                <td>{{ case.start_date }}</td>
            </tr>
            <tr>
                <td>End Date</td>
                {% if case.end_date %}<commit_msg>chopping down modal tags as much as possible<commit_after>{% extends "layout.html" %}


{% block content %}
    <a data-toggle="modal" href="{{ url_for('case.edit', case_id=case.id) }}" data-target="#myModal">Click me !</a>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-content"></div>
</div>
<!-- /.modal -->
<div class="container">
<h2 class="text-center">{{ case.case_name|default('Case Not Found') }}</h2>
<div class="panel panel-default">
<div class="panel-heading">
    Core Case Details
</div>{# End Panel Heading#}

<div class="panel-body">

<div class="row">
    <div class="col-lg-3">
        <table class="table table-condensed table-striped table-bordered">
            <tbody class="">
            <tr>
                <td>Case ID #</td>
                <td>{{ case.id }}</td>
            </tr>
            <tr>
                <td>CRD #</td>
                <td>{{ case.crd_number }}</td>
            </tr>
            <tr>
                <td>Case Type</td>
                <td>{{ case.case_type_id }}</td>
            </tr>
            <tr>
                <td>Region</td>
                <td>{{ case.region_id }}</td>
            </tr>
            <tr>
                <td>Start Date</td>
                <td>{{ case.start_date }}</td>
            </tr>
            <tr>
                <td>End Date</td>
                {% if case.end_date %}
{'fraction_non_alphanumeric': 0.2006164911379399, 'fraction_numerical': 0.0033393269971744156, 'mean_word_length': 1.7893982808022924, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '104577', 'n_tokens_mistral': 1275, 'n_tokens_neox': 1215, 'n_words': 259}