Sha256: 40edfa9a2d5be74c87dc522c6c7e90e5847a4a5981fdf87770bd1d2e26b5d5fe

Contents?: true

Size: 559 Bytes

Versions: 16

Compression:

Stored size: 559 Bytes

Contents

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

  - raise('expected a completed? poll') unless resource.completed?

  .alert.alert-warning.mb-4
    Successfully completed on #{resource.completed_at.strftime('%F')}.

  .mb-4
    = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

  = card do
    %p= resource.poll
    = render 'effective/ballots/ballot', ballot: resource

  = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

Version data entries

16 entries across 16 versions & 1 rubygems

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