proper fix for #725

show all antecedent implications on wiki instead of just the first
This commit is contained in:
Toks
2013-03-28 19:27:44 -04:00
parent 502de5a651
commit 12c27aec9d
2 changed files with 4 additions and 4 deletions

View File

@@ -23,8 +23,8 @@
<p class="hint">The following tags are aliased to this tag: <%= raw @wiki_page.presenter.consequent_tag_aliases.map {|x| link_to(x.antecedent_name, posts_path(:tags => x.antecedent_name))}.join(", ") %>.</p>
<% end %>
<% if @wiki_page.presenter.antecedent_tag_implication %>
<p class="hint">This tag has been implicated to <%= link_to @wiki_page.presenter.antecedent_tag_implication.consequent_name, posts_path(:tags => @wiki_page.presenter.antecedent_tag_implication.consequent_name) %>.</p>
<% if @wiki_page.presenter.antecedent_tag_implications %>
<p class="hint">This tag has been implicated to <%= raw @wiki_page.presenter.antecedent_tag_implications.map {|x| link_to(x.consequent_name, posts_path(:tags => x.consequent_name))}.join(", ") %>.</p>
<% end %>
<% if @wiki_page.presenter.consequent_tag_implications.any? %>