<commit_before>
<?php $routeParams = (is_array($this->routeParams)) ? $this->routeParams : []; ?>

<a href="<?=$this->url($this->route, array_merge($routeParams, [
	'id' => $this->id
])); ?>" class="btn btn-primary">Edit</a>
&nbsp;

<!-- Button to trigger modal -->
<a href="#<?=$this->tableName;?>Model<?=$this->id;?>" class="btn btn-danger" data-toggle="modal" data-target="#<?=$this->tableName;?>Model<?=$this->id;?>">Delete</a>
<!-- Modal -->
<div class="modal fade" id="<?=$this->tableName;?>Model<?=$this->id;?>">

    <div class="modal-dialog">
        <div class="modal-content">
        
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h3 id="<?=$this->tableName;?>Model<?=$this->id;?>Label">Warning</h3>
            </div>
            
            <form class="form-horizontal"  method="post" action="<?=$this->url($this->route, array_merge($routeParams, [
                'action' => 'delete',
            ])) ?>">
            <div class="modal-body">
                <p>Are you sure you want to delete this <?=$this->tableName;?>.</p>
                <p class="label label-important">This action cannot be undone</p>
            </div>
            <input type="hidden" name="<?=$this->pk;?>" value="<?=$this->id;?>">
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal">No Don't Do It</button>
                <button type="submit" name="submit" class="btn btn-danger" value="delete">Yes Delete It</button>
            </div>
            </form>
            
        </div>
    </div>
    
    
</div><commit_msg>misc tidy<commit_after>
<?php $routeParams = (is_array($this->routeParams)) ? $this->routeParams : []; ?>

<a href="<?=$this->url($this->route, array_merge($routeParams, [
	'id' => $this->id
])); ?>" class="btn btn-primary">Edit</a>
&nbsp;

<!-- Button to trigger modal -->
<a href="#<?=$this->tableName;?>Model<?=$this->id;?>" class="btn btn-danger" data-toggle="modal" data-target="#<?=$this->tableName;?>Model<?=$this->id;?>">Delete</a>
<!-- Modal -->
<div class="modal fade" id="<?=$this->tableName;?>Model<?=$this->id;?>">

    <div class="modal-dialog">
        <div class="modal-content">
        
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h3 id="<?=$this->tableName;?>Model<?=$this->id;?>Label">Warning</h3>
            </div>
            
            <form class="form-horizontal"  method="post" action="<?=$this->url($this->route, array_merge($routeParams, [
                'action' => 'delete',
            ])) ?>">
            <div class="modal-body">
                <p>Are you sure you want to delete this <?=$this->tableName;?>.</p>
                <p class="label label-important">This action cannot be undone</p>
            </div>
            <input type="hidden" name="<?=$this->pk;?>" value="<?=$this->id;?>">
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal">No Don't Do It</button>
                <button type="submit" name="submit" class="btn btn-danger" value="delete">Yes Delete It</button>
            </div>
            </form>
            
        </div>
    </div>
    
</div>
{'fraction_non_alphanumeric': 0.22814814814814816, 'fraction_numerical': 0.0011851851851851852, 'mean_word_length': 2.5800636267232235, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 137, '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': '6937155', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1022, 'n_words': 190}