aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/templates
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-04-04 17:12:02 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-04-04 17:12:02 +0100
commit48ea55b603b44f1a4ad0a7ec9f1aeadfa9015b8b (patch)
treed6cb9b938c118d608f8d1b4e1d1b9ee5f4329f5e /ctrack/caf/templates
parent3591b1b87793a2734718390691bdde41af1f8bd0 (diff)
partially completed the CAF score detail table
Diffstat (limited to 'ctrack/caf/templates')
-rw-r--r--ctrack/caf/templates/caf/caf_detail.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html
index 2cce6d1..7a8c151 100644
--- a/ctrack/caf/templates/caf/caf_detail.html
+++ b/ctrack/caf/templates/caf/caf_detail.html
@@ -59,6 +59,38 @@
</div>
</div>
+ <div class="row">
+ <div class="col-sm-12 p-2">
+ <div class="card bg-light">
+ <div class="card-body">
+ <div class="card-title text-muted">Assessments</div>
+ <div class="card-text">
+ <div class="table-responsive">
+ <table class="table">
+ {% for ass in assessments_and_scores %}
+ <tr>
+ <th>Assessment</th>
+ <th></th>
+ <th>{{ ass.0 }}</th>
+ <th></th>
+ </tr>
+ {% for score in ass.1 %}
+ <tr>
+ <td>{{ score.caf_contributing_outcome.designation }}</td>
+ <td>{{ score.caf_contributing_outcome.name }}</td>
+ <td>{{ score.caf_contributing_outcome.description }}</td>
+ <td>{{ score.assessment_score }}</td>
+ </tr>
+ {% endfor %}
+ {% endfor %}
+ </table>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
{% endblock %}