<commit_before><template name="editResident">
  <div class="modal fade">
    <div class="modal-dialog">
      <div class="modal-content">
        {{# if Template.subscriptionsReady }}
        <div class="modal-header">
          <h4 class="modal-title">Edit resident {{ this.firstName }} {{ this.lastInitial }}</h4>
        </div>
        {{#autoForm id="editResidentForm" type="update" collection="Residents" doc=this  }}

        <div class="modal-body">
          {{> afQuickField name="firstName"}}
          {{> afQuickField name="lastInitial"}}
          {{> afQuickField name="homeId"}}
        </div>

        <div class="modal-footer">
          <button type="submit" class="btn btn-success">Save</button><commit_msg>Add departed field<commit_after><template name="editResident">
  <div class="modal fade">
    <div class="modal-dialog">
      <div class="modal-content">
        {{# if Template.subscriptionsReady }}
        <div class="modal-header">
          <h4 class="modal-title">Edit resident {{ this.firstName }} {{ this.lastInitial }}</h4>
        </div>
        {{#autoForm id="editResidentForm" type="update" collection="Residents" doc=this  }}

        <div class="modal-body">
          {{> afQuickField name="firstName"}}
          {{> afQuickField name="lastInitial"}}
          {{> afQuickField name="homeId"}}
          {{> afQuickField name="departed"}}
          <p class="help-block">Resident has left the community.</p>
        </div>

        <div class="modal-footer">
          <button type="submit" class="btn btn-success">Save</button>
{'fraction_non_alphanumeric': 0.1705919796308084, 'fraction_numerical': 0.002546148949713558, 'mean_word_length': 2.920199501246883, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 38, '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': '4211198', 'n_tokens_mistral': 458, 'n_tokens_neox': 452, 'n_words': 89}