<commit_before>{{yield}}

<td class="options-cell-cont">
  <button class="mdl-button mdl-js-button mdl-button--icon" onclick={{ action "openOptions"}}>
    <i class="material-icons">more_vert</i>
  </button>

  <ul class="cell-options-menu st--list-unstyled mdl-shadow--2dp" id="{{menuOptionID}}">
    <li class="cell-options-menu-item">
      <button type="button" name="button">
        Edit
      </button>
    </li>
    <li class="cell-options-menu-item">
      <button type="button" name="button">
        Remove
      </button>
    </li>
  </ul>
</td><commit_msg>refactor: Add markup for table cell when in edit mode<commit_after>{{#if editMode}}
  <td class="mdl-data-table__cell--non-numeric">
    {{input value=expense.name}}
  </td>
  <td class="mdl-data-table__cell--non-numeric">
    {{input value=expense.category}}
  </td>
  <td>
    {{currency}}{{input value=expense.sum}}
  </td>

  <td class="options-cell-cont">
    <button class="mdl-button mdl-js-button mdl-button--icon" onclick={{ action "openOptions"}}>
      <i class="material-icons">more_vert</i>
    </button>

    <ul class="cell-options-menu st--list-unstyled mdl-shadow--2dp" id="{{menuOptionID}}">
      <li class="cell-options-menu-item">
        <button type="button" name="button" {{action "update"}}>
          Save
        </button>
      </li>
      <li class="cell-options-menu-item">
        <button type="button" name="button" {{action "edit" false}}>
          Cancel
        </button>
      </li>
    </ul>
  </td>

{{else}}
  <td class="mdl-data-table__cell--non-numeric">{{expense.name}}</td>
  <td class="mdl-data-table__cell--non-numeric">{{expense.category}}</td>
  <td>{{currency}}{{expense.sum}}</td>

  <td class="options-cell-cont">
    <button class="mdl-button mdl-js-button mdl-button--icon" onclick={{ action "openOptions"}}>
      <i class="material-icons">more_vert</i>
    </button>

    <ul class="cell-options-menu st--list-unstyled mdl-shadow--2dp" id="{{menuOptionID}}">
      <li class="cell-options-menu-item">
        <button type="button" name="button" {{action "edit" true}}>
          Edit
        </button>
      </li>
      <li class="cell-options-menu-item">
        <button type="button" name="button" {{action "remove"}}>
          Remove
        </button>
      </li>
    </ul>
  </td>
{{/if}}
{'fraction_non_alphanumeric': 0.20414328873543375, 'fraction_numerical': 0.001294777729823047, 'mean_word_length': 2.9828178694158076, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '2971909', 'n_tokens_mistral': 808, 'n_tokens_neox': 796, 'n_words': 147}