Skip to content

Commit

Permalink
Update _more_info.html.erb to support UCAS links
Browse files Browse the repository at this point in the history
Add UCAS links on authority pages
  • Loading branch information
confirmordeny authored Dec 27, 2024
1 parent 09f6669 commit bb38b65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/views/public_body/_more_info.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@
<% end %>
<% end %>

<% if public_body.has_tag?('ucas') %>
<% public_body.get_tag_values('ucas').each do |tag_value| %>
<%= link_to _('UCAS provider'),
"https://www.ucas.com/explore/search/providers?query=#{ tag_value }" %><br>
<% end %>
<% end %>

<% if public_body.has_tag?('matuid') %>
<% public_body.get_tag_values('matuid').each do |tag_value| %>
<%= link_to _('Establishment group information'),
Expand Down

0 comments on commit bb38b65

Please sign in to comment.