diff --git a/app/views/debates/_debate.html.erb b/app/views/debates/_debate.html.erb index 45775eb37..3125b72c3 100644 --- a/app/views/debates/_debate.html.erb +++ b/app/views/debates/_debate.html.erb @@ -18,7 +18,7 @@
-
+
<%= link_to debate_votes_path(debate, value: 'yes'), class: "like inline-block", title: t('votes.agree'), method: "post" do %> <%= percentage('likes', debate) %> @@ -27,8 +27,8 @@ -
- <%= likenk_to debate_votes_path(debate, value: 'no'), class: "unlike inline-block", title: t('votes.disagree'), method: "post" do %> +
+ <%= link_to debate_votes_path(debate, value: 'no'), class: "unlike inline-block", title: t('votes.disagree'), method: "post" do %> <%= percentage('dislikes', debate) %> <% end %> diff --git a/app/views/debates/_featured_debate.html.erb b/app/views/debates/_featured_debate.html.erb index 28f66be96..0cc84c184 100644 --- a/app/views/debates/_featured_debate.html.erb +++ b/app/views/debates/_featured_debate.html.erb @@ -16,7 +16,7 @@
-
+
<%= link_to debate_votes_path(featured_debate, value: "yes"), class: "like", title: t('votes.agree'), method: "post" do %> <%= percentage('likes', featured_debate) %> @@ -25,7 +25,7 @@ -
+
<%= link_to debate_votes_path(featured_debate, value: "no"), class: "unlike", title: t('votes.disagree'), method: "post" do %> <%= percentage('dislikes', featured_debate) %>