Sha256: 1f97818928f74e5d9d00d04276ac8d2f3eb04f882ed5f50fe42415b60b64bb80

Contents?: true

Size: 447 Bytes

Versions: 51

Compression:

Stored size: 447 Bytes

Contents

<% if question.external_voting %>
  <iframe src="<%= question.i_frame_url %>"></iframe>
<% else %>
  <% if question.results_published? %>
    <%= render partial: "decidim/consultations/questions/results", locals: { question: question } %>
  <% else %>
    <div id="question-<%= question.id %>-vote-button">
      <%= render partial: "decidim/consultations/questions/vote_button", locals: { question: question } %>
    </div>
  <% end %>
<% end %>

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
decidim-consultations-0.26.1 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.26.0 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.26.0.rc2 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.26.0.rc1 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.2 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.1 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.0 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.0.rc4 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.0.rc3 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.0.rc2 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.25.0.rc1 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.24.3 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.23.6 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.24.2 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.23.5 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.24.1 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.24.0 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.24.0.rc2 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.23.4 app/views/layouts/decidim/_question_header_buttons.html.erb
decidim-consultations-0.24.0.rc1 app/views/layouts/decidim/_question_header_buttons.html.erb