<commit_before><?php
$title = "Compose Message";
$this->headTitle($title);
$this->headScript()->appendFile($this->basePath()."/private-messaging/js/select2.js");

echo $this->menu_helper();
?>
<h2><?php echo $title; ?></h2>
<br/>
<?php if($messageSent): ?>
<div class="alert alert-success">Message Sent Successfully</div>
<?php endif; ?>
<?php echo $this->form()->openTag($form); ?>
<span><?php echo $this->formLabel($form->get('receiver_id')) ?></span><br/>
<div><?php echo $this->formElement($form->get('receiver_id')).$this->formElementErrors($form->get('receiver_id')) ?></div>

<span><?php echo $this->formLabel($form->get('subject')) ?></span><br/>
<div><?php echo $this->formElement($form->get('subject')).$this->formElementErrors($form->get('subject')) ?></div>

<span><?php echo $this->formLabel($form->get('message_text')) ?></span><br/>
<div><?php echo $this->formElement($form->get('message_text')).$this->formElementErrors($form->get('message_text')) ?></div>
<br/>
<div><?php echo $this->formElement($form->get('submit')) ?></div>
<?php echo $this->form()->closeTag($form); ?>
<br/>
<script type="text/javascript">
    $(function () {
        $("input[name=receiver_id]").select2();
    });
</script><commit_msg>Well container in compose action<commit_after><?php
$title = "Compose Message";
$this->headTitle($title);
$this->headScript()->appendFile($this->basePath()."/private-messaging/js/select2.js");

echo $this->menu_helper();
?>
<h2><?php echo $title; ?></h2>
<br/>
<?php if($messageSent): ?>
<div class="alert alert-success">Message Sent Successfully</div>
<?php endif; ?>
<div class="well">
<?php echo $this->form()->openTag($form); ?>
<span><?php echo $this->formLabel($form->get('receiver_id')) ?></span><br/>
<div><?php echo $this->formElement($form->get('receiver_id')).$this->formElementErrors($form->get('receiver_id')) ?></div>

<span><?php echo $this->formLabel($form->get('subject')) ?></span><br/>
<div><?php echo $this->formElement($form->get('subject')).$this->formElementErrors($form->get('subject')) ?></div>

<span><?php echo $this->formLabel($form->get('message_text')) ?></span><br/>
<div><?php echo $this->formElement($form->get('message_text')).$this->formElementErrors($form->get('message_text')) ?></div>
<br/>
<div><?php echo $this->formElement($form->get('submit')) ?></div>
<?php echo $this->form()->closeTag($form); ?>
</div>

<script type="text/javascript">
    $(function () {
        $("input[name=receiver_id]").select2();
    });
</script>
{'fraction_non_alphanumeric': 0.27808988764044945, 'fraction_numerical': 0.0032102728731942215, 'mean_word_length': 7.254966887417218, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 140, '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': '5892316', 'n_tokens_mistral': 827, 'n_tokens_neox': 853, 'n_words': 131}