{% extends get_active_back_theme()+"/base.html" %}

{%block head%}
    <script src="{{url_for('static', filename='jquery_3.2.1.min.js')}}"></script>
{%endblock%}
{% block content %}
<br>
<script type="text/javascript">
$(function() {
    $('.delete_me').click(function() {
        var id = $(this).data('id');
        console.log(id);
        var ask = confirm("Do you want to delete ?");
        if (ask == true) {
            window.open("/appadmin/delete/" + id, "_self")
        } else {

        }
    });
}