1
<% if current_user.voted_on?(@word) %>
2
<%= 'Si' if current_user.voted_for?(@word) %>
3
<%= 'No' if current_user.voted_against?(@word) %>
4
<%= link_to_remote "Kambia",
5
:update=>"votes"+@word.id.to_s,
6
:url => { :action=>"_vote_reset",
10
<%= link_to_remote "Si",
11
:update=>"votes"+@word.id.to_s,
12
:url => { :action=>"_vote_for",
16
<%= link_to_remote "No",
17
:update=>"votes"+@word.id.to_s,
18
:url => { :action=>"_vote_against",
b'\\ No newline at end of file'