anchor.diff:                      }
                   }
               };
  -
  -
   
               var id = $('input[name="id"]', $form).val();
               var serverId = $form.closest('.card').find('select[name="server"] > option:selected').val();
  
positive.code:                                 form.settings-form(method='POST', action='/monitoring/settings', autocomplete='off')
                                      input(name='id', type='hidden', value=metric._id)
  
                                      if !metric.isDetail
                                          .form-group.row
                                              label.col-xs-2.form-control-label= interval
                                              .col-xs-4
                                                  input.form-control.form-control-sm(name='interval', type='text')
                                      .form-group.row
                                          .checkbox.col-xs-12
                                              label
                                                  input(name='active', type='checkbox')
                                                  | &nbsp;#{isActive}
                                      if !metric.isDetail
                                          p.font-weight-bold= threshold.name
                                          .form-group.row.form-inline
                                              label.col-xs-4.form-control-label= repeat
                                              .col-xs-4
                                                  input.form-control.form-control-sm(name='repeat', type='text')
                                          .form-group.row.form-inline
                                              label.col-xs-4.form-control-label= threshold.warning
                                              .col-xs-4
                                                  input.form-control.form-control-sm(name='warning-value', type='text')
                                              .col-xs-4
                                                  select.form-control.form-select-sm(name='warning-measurement')
                                                      option(value='%') %
  
negative.code:             var data = {
                  _csrf: _csrf,
  
                  is_active: $('input[name="active"]', $form).prop('checked'),
                  interval: $('input[name="interval"]', $form).val(),
  
                  threshold: {
                      repeat: $('input[name="repeat"]', $form).val(),
                      is_enabled: $('input[name="threshold-enabled"]', $form).prop('checked'),
                      warning: {
                          value: $('input[name="warning-value"]', $form).val(),
                          measurement: $('select[name="warning-measurement"] > option:selected', $form).val()
  