Skip to content

Commit a53abd6

Browse files
Use Programme.name on the vaccination report download
This ensures we get MMR(V) instead of MMR when appropriate.
1 parent 47e3971 commit a53abd6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/views/vaccination_reports/new.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
<div class="nhsuk-u-margin-bottom-8">
2222
<%= f.govuk_collection_radio_buttons :programme_type,
23-
Programme::TYPES,
24-
:itself,
25-
->(type) { I18n.t(type, scope: :programme_types) },
23+
Programme.all,
24+
:type,
25+
:name,
2626
legend: { text: "Programme", size: "m" } %>
2727
</div>
2828

0 commit comments

Comments
 (0)