Sha256: 0c5f6d0a8a8054d89be4c67a128b57f785d302bcd45d468fe33cd19689c7b234

Contents?: true

Size: 590 Bytes

Versions: 16

Compression:

Stored size: 590 Bytes

Contents

= render 'layout' do
  = render 'effective/ballots/content', resource: resource

  = card do
    = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
      = f.hidden_field :current_step

      - resource.poll.poll_questions.deep.all.each_with_index do |poll_question, index|
        - ballot_response = resource.ballot_response(poll_question)

        = f.fields_for :ballot_responses, ballot_response do |fbr|
          = render('/effective/ballot_responses/fields', f: fbr, poll_question: poll_question)

      = f.submit 'Save and Continue', center: true

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
effective_polls-0.7.3 app/views/effective/ballots/vote.html.haml
effective_polls-0.7.2 app/views/effective/ballots/vote.html.haml
effective_polls-0.7.1 app/views/effective/ballots/vote.html.haml
effective_polls-0.7.0 app/views/effective/ballots/vote.html.haml
effective_polls-0.6.2 app/views/effective/ballots/vote.html.haml
effective_polls-0.6.1 app/views/effective/ballots/vote.html.haml
effective_polls-0.6.0 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.6 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.5 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.4 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.3 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.2 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.1 app/views/effective/ballots/vote.html.haml
effective_polls-0.5.0 app/views/effective/ballots/vote.html.haml
effective_polls-0.4.1 app/views/effective/ballots/vote.html.haml
effective_polls-0.4.0 app/views/effective/ballots/vote.html.haml