search for: delete_vot

Displaying 1 result from an estimated 1 matches for "delete_vot".

Did you mean: delete_vote
2006 Feb 19
0
looking for more idiomatic way of doing this
...them. In my proposal view I have a little div where the currently logged in member can vote: <div id="vote_div" class="vote"> Your vote: <% if @member_vote %> You have voted for this proposal<br /> <%= start_form_tag :action => "delete_vote" %> <%= hidden_field_tag :id, @proposal.id%> <%= submit_tag "Remove Vote", ''class'' => "button" %> <%= end_form_tag %> <% else %> <%= start_form_tag :action => "add_vote" %> &lt...