Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%#%>
- <%# <div class="form-group">%>
- <%# <div class="select">%>
- <%# <%= select_tag "list[]", options_from_collection_for_select(poll.vote_options, "id", "title"), :multiple=>true %>
- <%# <%= select_tag "list1[]", options_from_collection_for_select(poll.vote_options, "id", "title"), :multiple=>true %>
- <%# </div>%>
- <div class="form-group">
- <%= content_tag(:label) do %>
- <%# unless current_user && current_user.voted_for3?(@surv) %>
- <div class="select">
- <%= option.title %>
- <%= radio_button_tag option.poll_id, option.id %>
- <%#= number_field_tag option.poll_id, option.id, :value => vote %>
- <%= number_field_tag :points %> <%#NIE DZIAŁA %>
- </div>
- <%# end %>
- <% end %>
- <%= visualize_votes_for option %>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement