Adds comments anchor on form link

This commit is contained in:
Alberto Garcia Cabeza
2016-06-15 17:03:33 +02:00
parent 60c1fdcb27
commit e87fda2c8d
3 changed files with 5 additions and 6 deletions

View File

@@ -7,10 +7,9 @@
<div class="callout primary">
<p>
<%= t("proposal_notifications.new.info_about_receivers_html",
count: @proposal.voters.count) %>
<%= link_to t("proposal_notifications.new.proposal_page"),
proposal_path(@proposal) %>
count: @proposal.voters.count,
proposal_page: link_to(t("proposal_notifications.new.proposal_page"),
proposal_path(@proposal, anchor: "comments"))).html_safe %>
</p>
</div>