views: fix alias and implication list partial when tag is blank.

Fixup for abacc8ebb.
This commit is contained in:
evazion
2020-01-12 13:54:29 -06:00
parent 796efccbf4
commit 8dc69bef4b

View File

@@ -1,3 +1,4 @@
<% if tag.present? %>
<% if tag.antecedent_alias %> <% if tag.antecedent_alias %>
<p class="fineprint"> <p class="fineprint">
This tag has been aliased to <%= link_to_wiki(tag.antecedent_alias.consequent_name) %> This tag has been aliased to <%= link_to_wiki(tag.antecedent_alias.consequent_name) %>
@@ -38,3 +39,4 @@
(<%= link_to_wiki "learn more", "help:tag_implications" %>). (<%= link_to_wiki "learn more", "help:tag_implications" %>).
</p> </p>
<% end %> <% end %>
<% end %>