Sha256: cfdabea275a847b2ee9ca8756905ea8543d3866ff459721255969845ef011728
Contents?: true
Size: 716 Bytes
Versions: 9
Compression:
Stored size: 716 Bytes
Contents
= render_wizard_sidebar(resource) do %h1= resource.poll - if resource.poll.all_steps_content.present? .mb-2= resource.poll.all_steps_content - if resource.poll.vote_content.present? .mb-2= resource.poll.vote_content = 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
9 entries across 9 versions & 1 rubygems