Adds styles for not logged votes

This commit is contained in:
Alberto Garcia Cabeza
2015-08-11 17:40:27 +02:00
parent 2c88c6e07d
commit 3cddc1070a
5 changed files with 44 additions and 2 deletions

View File

@@ -20,4 +20,9 @@
<span class="total-votes">
<%= pluralize(debate.total_votes, t("debates.debate.vote"), t("debates.debate.votes")) %>
</span>
<div class="not-logged">
<%= t("votes.unauthenticated",
signin: link_to(t("votes.signin"), new_user_session_path),
signup: link_to(t("votes.signup"), new_user_registration_path)).html_safe %>
</div>
</div>