Skip to content

Commit

Permalink
Add basic logic to partial
Browse files Browse the repository at this point in the history
  • Loading branch information
jazairi committed Sep 6, 2024
1 parent b52f607 commit ea719e3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/views/tacos/suggested_resources.erb
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
<p>Hello world</p>
<% if @suggested_resources %>
<div class="wrap-hint-box" data-region="Hint">
<div class="hint-box">
<p class="type">Were you looking for...</p>
<h3 class="title"><%= link_to @suggested_resources.first.title, @suggested_resources.first.url %></h3>
</div>
</div>
<% end %>

0 comments on commit ea719e3

Please sign in to comment.