search for: vote_div

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

Did you mean: some_div
2006 Feb 19
0
looking for more idiomatic way of doing this
I have proposals and members can vote for 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&quo...