Skip to content

Commit 6368ad0

Browse files
committed
Fix recap view
1 parent ef6cb6d commit 6368ad0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

backend/reviews/templates/grant-review.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ <h2>Grant</h2>
112112

113113
<div class="review-row">
114114
<strong>Grant type</strong>
115-
<div>{{grant.get_grant_type_display}}</div>
115+
<div>
116+
{% for type_ in grant.grant_type %}
117+
{{type_}}
118+
{% endfor %}
119+
</div>
116120
</div>
117121

118122
<div class="review-row">

backend/reviews/templates/grants-recap.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,11 @@ <h3>
507507
</li>
508508
<li>
509509
<strong>Grant type:</strong>
510-
<span>{{ item.get_grant_type_display }}</span>
510+
<span>
511+
{% for type_ in item.grant_type %}
512+
{{type_}}
513+
{% endfor %}
514+
</span>
511515
</li>
512516
<li>
513517
<strong>Needs:</strong>

0 commit comments

Comments
 (0)