{% block list_row_actions scoped %}
    {%- if admin_view.can_edit -%}
        <a class="icon" href="{{ url_for('.edit_view', id=get_pk_value(row), url=return_url) }}" title="Edit record">
            {{ admin_view }}
            <i class="fa fa-pencil fa-lg"></i>
            }
        </a>
    {%- endif -%}
    {%- if admin_view.can_delete -%}
        <form class="icon form-inline" method="POST" action="{{ url_for('.delete_view', id=get_pk_value(row), url=return_url) }}">
            {% if csrf_token %}
                <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
            {% endif %}
            <button onclick="return confirm('{{ _gettext('You sure you want to delete this item?') }}');" title="Delete record">
                <i class="fa fa-times-circle fa-lg"></i>
            </button>
        </form>
    {%- endif -%}
{% endblock %}