Commit 5226e57b authored by Rajkumar-D's avatar Rajkumar-D
Browse files

update desc to title in dac

parent 7d62bdb9
<div class="body">
<div>
<div class="mat-h3 mat-tittle">Register Data access committee (DAC)</div>
</div>
<mat-divider></mat-divider>
<div class="container">
<mat-card>
<mat-card-subtitle>DAC Details</mat-card-subtitle>
<div style="width: 100%;">
<mat-form-field class="app-field-padding">
<textarea rows="3" matInput placeholder="Short descriptive title for the DAC" required
[(ngModel)]="description" name="description"></textarea>
</mat-form-field>
</div>
</mat-card>
<mat-card>
<mat-card-subtitle>Contact Information</mat-card-subtitle>
<a (click)="openDialog('Add', { submissionAccountId: id })">Add At Least One Contact
<mat-icon>add_circle</mat-icon>
</a>
<table mat-table *ngIf="dataSource" #table [dataSource]="dataSource" class="mat-elevation-z8">
<ng-container matColumnDef="emailAddress">
<th mat-header-cell *matHeaderCellDef>Email</th>
<td mat-cell *matCellDef="let element">{{ element.emailAddress }}</td>
</ng-container>
<form (ngSubmit)="submitDac(f)" #f="ngForm">
<div class="body">
<div>
<div class="mat-h3 mat-tittle">Register Data access committee (DAC)</div>
</div>
<mat-divider></mat-divider>
<div class="container">
<mat-card>
<mat-card-subtitle>DAC Details</mat-card-subtitle>
<div style="width: 100%;">
<mat-form-field class="app-field-padding">
<textarea rows="3" matInput placeholder="Short descriptive title for the DAC" required
[(ngModel)]="title" name="title"></textarea>
</mat-form-field>
</div>
</mat-card>
<mat-card>
<mat-card-subtitle>Contact Information</mat-card-subtitle>
<a (click)="openDialog('Add', { submissionAccountId: id })">Add At Least One Contact
<mat-icon>add_circle</mat-icon>
</a>
<table mat-table *ngIf="dataSource" #table [dataSource]="dataSource" class="mat-elevation-z8">
<ng-container matColumnDef="emailAddress">
<th mat-header-cell *matHeaderCellDef>Email</th>
<td mat-cell *matCellDef="let element">{{ element.emailAddress }}</td>
</ng-container>
<ng-container matColumnDef="name">
<th mat-header-cell *matHeaderCellDef>Name</th>
<td mat-cell *matCellDef="let element">
{{ element.name }}
</td>
</ng-container>
<ng-container matColumnDef="name">
<th mat-header-cell *matHeaderCellDef>Name</th>
<td mat-cell *matCellDef="let element">
{{ element.name }}
</td>
</ng-container>
<ng-container matColumnDef="telephone">
<th mat-header-cell *matHeaderCellDef>Telephone</th>
<td mat-cell *matCellDef="let element">
{{ element.telephone }}
</td>
</ng-container>
<ng-container matColumnDef="telephone">
<th mat-header-cell *matHeaderCellDef>Telephone</th>
<td mat-cell *matCellDef="let element">
{{ element.telephone }}
</td>
</ng-container>
<ng-container matColumnDef="organization">
<th mat-header-cell *matHeaderCellDef>Organization</th>
<td mat-cell *matCellDef="let element">
{{ element.organization }}
</td>
</ng-container>
<ng-container matColumnDef="organization">
<th mat-header-cell *matHeaderCellDef>Organization</th>
<td mat-cell *matCellDef="let element">
{{ element.organization }}
</td>
</ng-container>
<ng-container matColumnDef="edit">
<th mat-header-cell *matHeaderCellDef>Edit</th>
<td mat-cell *matCellDef="let element">
<mat-icon (click)="openDialog('Update', element)">edit</mat-icon>
</td>
</ng-container>
<ng-container matColumnDef="edit">
<th mat-header-cell *matHeaderCellDef>Edit</th>
<td mat-cell *matCellDef="let element">
<mat-icon (click)="openDialog('Update', element)">edit</mat-icon>
</td>
</ng-container>
<ng-container matColumnDef="remove">
<th mat-header-cell *matHeaderCellDef>Remove</th>
<td mat-cell *matCellDef="let element">
<mat-icon (click)="openDialog('Delete', element)">delete</mat-icon>
</td>
</ng-container>
<ng-container matColumnDef="remove">
<th mat-header-cell *matHeaderCellDef>Remove</th>
<td mat-cell *matCellDef="let element">
<mat-icon (click)="openDialog('Delete', element)">delete</mat-icon>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
</table>
</mat-card>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
</table>
<div style="text-align:Center">
<button mat-raised-button color="accent"
[disabled]="f.invalid || contactArray.length < 1">Save</button>
<button *ngIf="action==='Edit'" mat-raised-button style="margin-left: 5px;"
routerLink="/report/studies">Cancel</button>
<button *ngIf="action!='Edit'" mat-raised-button style="margin-left: 5px;"
routerLink="">Cancel</button>
</div>
</mat-card>
</div>
<div class="centred" *ngIf="showLoadingFlag" style="height:70px;">
<mat-spinner [diameter]="50" [strokeWidth]="5" style="margin:0 auto;">
</mat-spinner>
</div>
</div>
</div>
\ No newline at end of file
</form>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment