veTagVideos(event)">save</button>'
        +  '    </div>'
        +  '  </div>'
        +  '</div>';
    }

    return html;
});

$('#tag-list').on('opened.mdui.panel', function (e) {
  pagination($(e.target), function (videos) {
    var html = '';
    for (var i=0; i<videos.length; i++) {
      html
        += '<tr>'
        +  '  <td>'
        +  '    <input name="sort[' + videos[i].id + ']" type="text" class="sort mdui-text-center mdui-color-theme-700" value="' + videos[i].sort + '">'
        +  '  </td