{% block action-nav %}
  {% if object.get_delete_permission in perms or object_create_perm in perms %}
    <ul class="nav nav-tabs card-header-tabs float-right">
      <li class="nav-item">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">Actions</a>
        <div class="dropdown-menu">
          {% if object.get_delete_permission in perms %}
            <a class="dropdown-item text-danger" href="{{ object.get_delete_url }}">
              <span class="material-symbols-outlined material-symbols-align">delete</span> Delete
            </a>
          {% endif %}
          {% if object.get_add_permission in perms %}
            <a class="dropdown-item"
               style="color: blueviolet"
               href="{{ object.get_duplicate_url }}">
              <span class="material-symbols-outlined material-symbols-align">content_copy</span> Duplicate
            </a>
            <a class="dropdown-item"
               style="color: dodgerblue"
               href="{{ object.get_merge_view_url }}">
              <span class="material-symbols-outlined material-symbols-align">cell_merge</span> Merge
            </a>
          {% endif %}
          {% if object.history %}
            <a class="dropdown-item" href="{{ object.get_create_version_url }}"><span class="material-symbols-outlined material-symbols-align">add</span>Tag Version</a>
          {% endif %}
        </div>
      </li>
    </ul>
  {% endif %}
{% endblock action-nav %}
