fix(connections): use template for edit screen too
</h2>
<div class="card-pf-body">
- <!-- validate error -->
- <div *ngIf="validateError">
- <div class="alert alert-warning alert-dismissable">
- <button type="button"
- class="close"
- (click)="validateError = undefined">
- <span class="pficon pficon-close"></span>
- </button>
- <span class="pficon pficon-warning-triangle-o"></span>
- <p>Validation error:</p>
- <pre>{{ validateError }}</pre>
- </div>
- </div>
-
- <!-- validate success -->
- <div *ngIf="validateSuccess">
- <div class="alert alert-success alert-dismissable">
- <button type="button"
- class="close"
- data-dismiss="alert"
- aria-hidden="true">
- <span class="pficon pficon-close"></span>
- </button>
- <span class="pficon pficon-ok"></span>
- <strong>{{ connection.connector.name }}</strong> has been successfully validated
- </div>
- </div>
+ <ng-container *ngTemplateOutlet="validateStatus"></ng-container>
<div *ngIf="formModel && formGroup">
<form class="form-horizontal"
