port_functions %}
        {% endblock %}
        $(function () {
            $(".available-widgets > ul").sortable({
                handle: "div.panel div.panel-heading",
                connectWith: ".in-use-widgets ul",
                placeholder: "ui-state-highlight",
                cursor: 'default',
                opacity: 0.65,
                remove: function (event, ui) {
                    // If the widget supports multiple instances, create a new instance of it in the list
                   