<commit_before>{page::header()}
{page::toolbar()}
<form action="{$url_alloc_commentTemplate}" method="post">
<table class="box">
  <tr>
    <th colspan="2">Task Comment Template</th>
    <th class="right"><a href="{$url_alloc_commentTemplateList}">Comment Template List</a></th>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td>Name</td>
    <td><input type="text" name="commentTemplateName" size="60" value="{$commentTemplateName}"></td>  
    <td><select name="commentTemplateType">{$commentTemplateTypeOptions}</select></td>
  </tr>
  <tr>
    <td class="top">Text</td>
    <td class="top center">{page::textarea("commentTemplateText",$commentTemplateText,array("height"=>"jumbo"))}
      <br>
      <input type="submit" value="Save" name="save">
      <input type="submit" value="Delete" name="delete" class="delete_button">
    </td>
    <td class="top">
      Placeholder variables may be inserted into the template text.
      The following is a list of the available variables:<br>

      <table><commit_msg>18501 Fixed default comment template types, and alignment of field.<commit_after>{page::header()}
{page::toolbar()}
<form action="{$url_alloc_commentTemplate}" method="post">
<table class="box">
  <tr>
    <th colspan="2">Task Comment Template</th>
    <th class="right"><a href="{$url_alloc_commentTemplateList}">Comment Template List</a></th>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td>Name</td>
    <td>
      <input type="text" name="commentTemplateName" size="60" value="{$commentTemplateName}">
      <span style="float:right">
        Template Type&nbsp;&nbsp;
        <select name="commentTemplateType">{$commentTemplateTypeOptions}</select>
      </span>
    </td>
    <td> </td>
  </tr>
  <tr>
    <td class="top">Text</td>
    <td class="top center">{page::textarea("commentTemplateText",$commentTemplateText,array("height"=>"jumbo"))}
      <br>
      <input type="submit" value="Save" name="save">
      <input type="submit" value="Delete" name="delete" class="delete_button">
    </td>
    <td class="top">
      Placeholder variables may be inserted into the template text.
      The following is a list of the available variables:<br>

      <table>
{'fraction_non_alphanumeric': 0.18707940780619112, 'fraction_numerical': 0.005832211754149843, 'mean_word_length': 4.452322738386308, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, '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': '1995119', 'n_tokens_mistral': 716, 'n_tokens_neox': 703, 'n_words': 157}