<div class="actions">
  <a
    data-test-subj="indexPatternFieldEditButton"
    ng-href="{{ kbnUrl.getRouteHref(field, 'edit') }}"
    aria-label="Edit"
    class="kuiButton kuiButton--basic kuiButton--small"
  >
    <span aria-hidden="true" class="kuiIcon fa-pencil"></span>
  </a>

  <button
    ng-if="field.scripted"
    ng-click="remove(field)"
    class="kuiButton kuiButton--danger kuiButton--small"
    aria-label="Delete"
  >
    <span aria-hidden="true" class="kuiIcon fa-trash"></span>
  </button>
</div>
