All files / src/app/extensions/punchout/pages/account-punchout-cxml-configuration/cxml-configuration-form cxml-configuration-form.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 412x                                                                                
<ish-error-message [error]="cxmlConfigurationError$ | async" />
<div class="container">
  <div class="row list-header d-md-flex d-none">
    <div class="col-sm-5 list-header-item no-seperator">
      {{ 'account.punchout.configuration.form.heading.attribute' | translate }}
    </div>
    <div class="col-sm-7 list-header-item no-seperator">
      {{ 'account.punchout.configuration.form.heading.transformed-attribute' | translate }}
    </div>
  </div>
 
  <form [formGroup]="form" (ngSubmit)="submitForm()" class="pt-1">
    <div class="list-body">
      <formly-form [form]="form" [fields]="fields" [model]="model" class="pt-1" />
    </div>
 
    <div class="row">
      <div class="button-group w-100 clearfix">
        <div class="float-md-right">
          <button
            type="submit"
            class="btn btn-primary"
            [disabled]="formDisabled"
            data-testing-id="update-cxml-configuration"
          >
            {{ 'account.update.button.label' | translate }}
          </button>
          <a [routerLink]="['/account/punchout']" [queryParams]="{ format: 'cxml' }" class="btn btn-secondary">
            {{ 'account.cancel.link' | translate }}
          </a>
        </div>
        <div class="float-md-left">
          <a class="btn btn-link pl-md-0" [routerLink]="['/account/punchout']" [queryParams]="{ format: 'cxml' }">{{
            'account.punchout.configuration.back_to_list' | translate
          }}</a>
        </div>
      </div>
    </div>
  </form>
</div>