diff options
author | 2019-02-14 19:27:31 +0530 | |
---|---|---|
committer | 2019-02-14 14:28:27 +0000 | |
commit | b8615b2844cf4141aa449898b16c2c1f57902217 (patch) | |
tree | 847393dc16abe7e2897df3e507d8a7abf04df01b /cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html | |
parent | 6c9efd47bfae32b811761e3c2f2ceba545411bb7 (diff) |
Update state of blueprint
Change-Id: I11da8bc3ac64f88b47691575ea34ad0b25ef0e6d
Issue-ID: CCSDK-703
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html b/cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html index 75d9462bd..cdfea2529 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html @@ -19,20 +19,28 @@ limitations under the License. ============LICENSE_END============================================ --> -<!-- <form [formGroup]="CBAMetadata"> --> - <mat-form-field class="form-field"> - <input matInput placeholder="CBA File Name" formControlName="CBA_File_Name"> - </mat-form-field> - <mat-form-field class="form-field"> - <input matInput placeholder="CBA Version" formControlName="CBA_Version"> - </mat-form-field> - <mat-form-field class="form-field"> - <input matInput placeholder="CSAR Version" formControlName="CSAR_Version"> - </mat-form-field> - <mat-form-field class="form-field"> - <input matInput placeholder="Entry Definition" formControlName="entry_Definition"> - </mat-form-field> - <mat-form-field class="form-field"> - <input matInput placeholder="Author" formControlName="author"> - </mat-form-field> - <!-- </form> --> +<form [formGroup]="CBAMetadataForm" (ngSubmit)="UploadMetadata()"> + <div class="formDisplay"> + <mat-form-field class="form-field"> + <input matInput placeholder="Template Author" id="CBA_File_Name" formControlName="template_author"> + </mat-form-field> + <mat-form-field class="form-field"> + <input matInput placeholder="Author Email" id="author_email" formControlName="author_email"> + </mat-form-field> + <mat-form-field class="form-field"> + <input matInput placeholder="User Groups" id="user_groups" formControlName="user_groups"> + </mat-form-field> + </div> + <div class="formDisplay"> + <mat-form-field class="form-field"> + <input matInput placeholder="Template Name" id="template_name" formControlName="template_name"> + </mat-form-field> + <mat-form-field class="form-field"> + <input matInput placeholder="Template Version" id="template_version" formControlName="template_version"> + </mat-form-field> + <mat-form-field class="form-field"> + <input matInput placeholder="Template Tags" id="template_tags" formControlName="template_tags"> + </mat-form-field> + </div> + <button mat-button class="matBtn" type="submit" [disabled]="!CBAMetadataForm.valid">Save Metadata</button> +</form>
\ No newline at end of file |