anchor.diff:                      url: $elem.attr('href'),
                       type: 'DELETE',
                       contentType: 'application/json',
  -                    data: JSON.stringify({_csrf: $('input[name="_csrf"]').val()}),
  +                    data: JSON.stringify({_csrf: _csrf}),
                       dataType: 'json',
                       cache: false,
                       error: function (XMLHttpRequest, textStatus, errorThrow) {
  
positive.code: 
  block ScriptsPluginBlock
  block ScriptsBlock
      script(type='application/javascript').
          $(function () {
              setActiveLink('#server', '#server-groups-sub');
  
              $('#create-group-modal').on('submit', function (e) {
                  e.preventDefault();
  
                  var $elem = $(this);
  
                  $elem.find('button[type="submit"]').attr('disabled', true);
  
                  var name = $elem.find('input[name="name"]').val();
                  var server = $elem.find('select[name="server"] > option:selected').val();
                  var agents = [];
  
                  $elem.find('input[name="worker"]').each(function () {
                      if (this.checked) {
                          agents.push($(this).parent().find('input[name="worker-id"]').val());
                      }
                  });
  
                  $.ajax({
                      url: '/servers/groups',
                      type: 'POST',
                      contentType: 'application/json',
                      data: JSON.stringify({
                          _csrf: $elem.find('input[name="_csrf"]').val(),
                          name: name,
                          server: server,
                          agents: agents
  
negative.code:                             location.reload();
                          } else {
                              toastr.error(result.msg);
                              $('button[type="submit"]', $createModal).attr('disabled', false);
                          }
                      }
                  });
  