Sha256: c8f74e2aff623f084438d47dd4c375475cb1f60f2cdc4adfb8d9a48a2978af56

Contents?: true

Size: 556 Bytes

Versions: 9

Compression:

Stored size: 556 Bytes

Contents

= render_wizard_sidebar(resource) do
  %h1= resource.poll

  .alert.alert-warning
    This is a <strong>Secret Ballot</strong>.
    Only you will know what you have submitted and no one has access to individual ballots.

  - if resource.poll.all_steps_content.present?
    .mb-2= resource.poll.all_steps_content

  - if resource.poll.start_content.present?
    .mb-2= resource.poll.start_content

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

    = f.submit 'Start', center: true

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_polls-0.3.0 app/views/effective/ballots/start.html.haml
effective_polls-0.2.0 app/views/effective/ballots/start.html.haml
effective_polls-0.1.6 app/views/effective/ballots/start.html.haml
effective_polls-0.1.5 app/views/effective/ballots/start.html.haml
effective_polls-0.1.4 app/views/effective/ballots/start.html.haml
effective_polls-0.1.3 app/views/effective/ballots/start.html.haml
effective_polls-0.1.2 app/views/effective/ballots/start.html.haml
effective_polls-0.1.1 app/views/effective/ballots/start.html.haml
effective_polls-0.1.0 app/views/effective/ballots/start.html.haml