Displaying 1 result from an estimated 1 matches for "vote_form".
2010 Jun 17
7
Why do rails calls a method when I'm calling a property?
...lt;span id="vote_score">
Shoveadas => <%= @story.votes.size %>
</span>
</h3>
<p class="submited_by"> Agregada por: <%= @story.user.login %> </p>
<p>
<%= link_to @story.link, @story.link%>
</p>
<div id="vote_form">
<% form_remote_tag :url => story_votes_path(@story) do %>
<%= submit_tag ''Shovealo!'' %>
<% end %>
</div>
<ul id="vote_history">
<% if @story.votes.empty? %>
<em>Sin shoveadas aun</em>
<% else...