-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathassessments.html
More file actions
28 lines (28 loc) · 969 Bytes
/
assessments.html
File metadata and controls
28 lines (28 loc) · 969 Bytes
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
<ion-header>
<ion-navbar>
<ion-title></ion-title>
<ion-buttons end>
<button ion-button (click)="clickSubmit()" class="btn-submit" *ngIf="allowSubmit">
{{ 'GENERAL.SUBMIT' | translate }}
</button>
</ion-buttons>
</ion-navbar>
</ion-header>
<ion-content>
<div *ngFor="let assessmentGroup of assessmentGroups; let i = index">
<div *ngFor="let assessment of assessmentGroup; let j = index">
<ion-card *ngIf="assessment.description" class="no-box-shadow">
<ion-card-content>
<h2 class="text-center assessment-title">{{ assessment.name }}</h2>
<p [innerHTML]="assessment.description" class="assessment-description"></p>
</ion-card-content>
</ion-card>
<questionGroup
*ngFor="let group of assessment.AssessmentGroup; let q = index"
[group]="group"
(click)="gotoAssessment(group, activity)"
>
</questionGroup>
</div>
</div>
</ion-content>