Sha256: 1583d951e4a33fc56b626b770ed92ebc2841fa17fe7551b77fc6088cceef42dd
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
-# In progress ballot - ballot = Effective::Ballot.in_progress.where(user: current_user).select { |ballot| ballot.poll.present? }.first - datatable = EffectiveResources.best('EffectivePollsAvailablePollsDatatable').new(self, namespace: :effective) - if ballot.present? %h2 In Progress #{et(Effective::Ballot)} %p Your submission for #{ballot.poll} is incomplete %p Please = link_to("Continue #{ballot.poll}", effective_polls.poll_ballot_build_path(ballot.poll, ballot, ballot.next_step), 'data-turbolinks' => false, class: 'btn btn-primary') or you can = link_to('Abandon', effective_polls.poll_ballot_path(ballot.poll, ballot), 'data-confirm': "Really delete #{ballot}?", 'data-method': :delete, class: 'btn btn-danger') to begin again. %hr %h2 #{et('effective_polls.name')} - if datatable.present? %p The following #{etsd(Effective::Poll)} are available: = render_datatable(datatable, simple: true) - else %p There are no available #{etsd(Effective::Poll)}. When there are, we'll show them here.
Version data entries
4 entries across 4 versions & 1 rubygems