Skip to content

Commit

Permalink
Update show.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren committed Aug 3, 2020
1 parent f6f4a6d commit 92834ea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/views/tag/show.html.erb
Expand Up @@ -70,15 +70,15 @@
<%= params[:id] %>
</span>
<a rel="tooltip" title="Show related topics" onclick="$('.related-tags').show();$(this).hide();"><i class="fa fa-plus-circle" style="vertical-align: middle;color:#ccc;"></i></a>
<span class="related-tags" style="display:none;">
<% unless @related_tags.nil? %>
<% @related_tags.each do |tag| %>
<a href="/tag/<%= tag.name %>" class="badge badge-secondary" style="background: #aaa;color: white;">
<%= tag.name %>
</a>
<% end %>
</span>
<span class="related-tags" style="display:none;">
<% unless @related_tags.nil? %>
<% @related_tags.each do |tag| %>
<a href="/tag/<%= tag.name %>" class="badge badge-secondary" style="background: #aaa;color: white;">
<%= tag.name %>
</a>
<% end %>
</span>
<% end %>
</span>
</div>
</h1>
Expand Down

0 comments on commit 92834ea

Please sign in to comment.