Skip to content

Commit

Permalink
Add how to link in example_info.erb (#141)
Browse files Browse the repository at this point in the history
* Add how to link in example_info.erb
  • Loading branch information
karissarjacobsen authored Dec 5, 2023
1 parent bb48ed5 commit 0c8456c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/partials/_example_info.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<% end %>
<% end %>
<% if @example["LinkToHowTo"] %>
<p>Prerequisite: See <a target='_blank' href="<%= @example["LinkToHowTo"][0]["Path"] %>"><%= @example["LinkToHowTo"][0]["PathName"] %></a></p>
<% end %>

<p>
<%= sanitize format_string(@manifest["SupportingTexts"]["ViewSourceFile"], "<a target='_blank' href='#{@source_url}'>#{@source_file}</a>" ) %>
</p>

0 comments on commit 0c8456c

Please sign in to comment.