Sha256: 41bd95774ca1aa05dd91de1fecf3845b5734f38651475dd209ed0629552751e8
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
= render_wizard_sidebar(resource) do %h1 Review: #{resource.poll} - if resource.poll.all_steps_content.present? .mb-2= resource.poll.all_steps_content - if resource.poll.submit_content.present? .mb-2= resource.poll.submit_content = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f| = f.hidden_field :current_step = render(resource) = f.submit(center: true) do = link_to 'Change Ballot', wizard_path(:vote), class: 'btn btn-secondary' = f.save 'Submit Ballot'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_polls-0.0.2 | app/views/effective/ballots/submit.html.haml |
effective_polls-0.0.1 | app/views/effective/ballots/submit.html.haml |