diff --git a/app/helpers/links_helper.rb b/app/helpers/links_helper.rb index dcca17693..89321462e 100644 --- a/app/helpers/links_helper.rb +++ b/app/helpers/links_helper.rb @@ -12,4 +12,8 @@ module LinksHelper def link_to_signup(options = {}) link_to t("users.signup"), new_user_registration_path, options end + + def link_to_verify_account + link_to t("users.verify_account"), verification_path + end end diff --git a/app/views/budgets/index.html.erb b/app/views/budgets/index.html.erb index 3279b4e04..e194af049 100644 --- a/app/views/budgets/index.html.erb +++ b/app/views/budgets/index.html.erb @@ -38,7 +38,7 @@ <% else %>
<%= t("budgets.investments.index.sidebar.verified_only", - verify: link_to(t("users.verify_account"), verification_path)).html_safe %> + verify: link_to_verify_account).html_safe %>
<% end %> <% else %> diff --git a/app/views/budgets/investments/_ballot.html.erb b/app/views/budgets/investments/_ballot.html.erb index 0507d9090..ae027b2fc 100644 --- a/app/views/budgets/investments/_ballot.html.erb +++ b/app/views/budgets/investments/_ballot.html.erb @@ -43,7 +43,6 @@ <% if reason.present? && !ballot.has_investment?(investment) %>