Skip to content

Commit a251a6f

Browse files
authored
Merge pull request #4030 from nhsuk/school-address-hint
Add address to school options in select dropdown
2 parents 098d267 + 1155961 commit a251a6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/views/draft_class_imports/session.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
<% @session_options.each do |session| %>
1616
<%= tag.option session.location.name,
1717
value: session.id,
18-
selected: session.id == @draft_class_import.session_id %>
18+
selected: session.id == @draft_class_import.session_id,
19+
data: { hint: format_address_single_line(session.location) } %>
1920
<% end %>
2021
<% end %>
2122

0 commit comments

Comments
 (0)