Sha256: 1281db837ff0a7d2122b4cc60498e422a290ffd41a64bf7eba3253f6ffe88c55
Contents?: true
Size: 914 Bytes
Versions: 16
Compression:
Stored size: 914 Bytes
Contents
= tabs do = tab 'Poll' do = render 'admin/polls/form_poll', poll: poll - if poll.persisted? = tab 'Content' do = render 'admin/polls/form_content', poll: poll = tab 'Questions' do - datatable = Admin::EffectivePollQuestionsDatatable.new(poll: poll) = render_datatable(datatable, inline: true, simple: true) = tab 'Notifications' do %p The following email notifications will be sent to = pluralize(poll.users.count, 'user') in the audience. %p The url for this #{et(poll)} is: - url = effective_polls.poll_url(poll) = link_to(url, url, target: '_blank') - datatable = Admin::EffectivePollNotificationsDatatable.new(poll: poll) = render_datatable(datatable, inline: true, simple: true) - if poll.respond_to?(:logs_datatable) = tab 'Logs' do = render_datatable(poll.logs_datatable)
Version data entries
16 entries across 16 versions & 1 rubygems