Sha256: 278c055a0bce672f0e8a8b3cae3bfad07bee718f4d1e0752592247309550990e

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

<%= semantic_form_for(poll, :url => topic_poll_votes_path(topic), :method => :post) do |form| %>
  <%= form.inputs do %>
    <%= form.input :poll_vote_ids, :as => (poll.multiple? ? :check_boxes : :radio), :collection => poll.options, :member_label => :answer, :label => '' %>
  <% end %>
  <%= form.buttons do %>
    <%= form.commit_button :button_html => { :value => t('.vote') } %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 app/views/formol/poll_votes/_form.html.erb
formol-0.0.5 app/views/formol/poll_votes/_form.html.erb
formol-0.0.4 app/views/formol/poll_votes/_form.html.erb