anchor.diff:                  success: function (result) {
                       if (result.ok) {
                           toastr.info(words.saveBtn);
  -
  -                        $('.delete-config').addClass('disabled').find('i').removeClass('hide');
   
                           setTimeout(function () {
                               waitTask(result.data, function (status) {
  
positive.code:                     a.btn.btn-danger.margin-10-right.delete-config(role='button', href='#delete-config')
                          i.fa.fa-refresh.fa-spin.hide(style='margin-right: 5px')
                          | #{buttonsTxt.delete}
                      a.btn.btn-success.margin-10-right.add-template(role='button', href='#add-template')= buttonsTxt.add
                      a.btn.btn-warning.margin-10-right.save-config(role='button', href='#save')
                          i.fa.fa-refresh.fa-spin.hide(style='margin-right: 5px')
                          | #{buttonsTxt.save}
  
negative.code:                 _csrf: $('input[name="_csrf"]').val()
              };
  
              $('.delete-config').addClass('disabled').find('i').removeClass('hide');
  
              $.ajax({
                  url: '/haproxy/configs/' + $('#config-id').val(),
                  type: 'DELETE',
  