<commit_before><div class="row">
  <div class="col-md-3">
    {{#if (can 'update contact' model)}}
      <div class="panel facets">
        <div class="panel-body">
          <div class="btn-toolbar">
            <div class="btn-group-vertical btn-group-sm">
              <LinkTo
                @route="contacts.show.edit"
                @model={{model.id}}
                class="btn btn-warning"
                @id="edit-contact"
              >
                <i class="fas fa-pencil-alt"></i>
                Update Contact
              </LinkTo>
              {{#if (can 'delete contact' model)}}
                <LinkTo
                  @route="contacts.show.delete"
                  @model={{model.id}}
                  class="btn btn-warning"<commit_msg>don't allow deletion of last contact<commit_after><div class="row">
  <div class="col-md-3">
    {{#if (can 'update contact' model)}}
      <div class="panel facets">
        <div class="panel-body">
          <div class="btn-toolbar">
            <div class="btn-group-vertical btn-group-sm">
              <LinkTo
                @route="contacts.show.edit"
                @model={{model.id}}
                class="btn btn-warning"
                @id="edit-contact"
              >
                <i class="fas fa-pencil-alt"></i>
                Update Contact
              </LinkTo>
              {{#if (and (can 'delete contact' model) (gt model.contacts.length 1))}}
                <LinkTo
                  @route="contacts.show.delete"
                  @model={{model.id}}
                  class="btn btn-warning"
{'fraction_non_alphanumeric': 0.146875, 'fraction_numerical': 0.001875, 'mean_word_length': 1.411144578313253, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 23, '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': '4135985', 'n_tokens_mistral': 455, 'n_tokens_neox': 435, 'n_words': 90}