Sha256: 8fae2887aed4e9a949dc1c2f8e38a56fa7813a0d43b40169f46859bb9ad0afd3

Contents?: true

Size: 716 Bytes

Versions: 3

Compression:

Stored size: 716 Bytes

Contents

<li class="answer-questionnaire__question" data-question-readonly>
  <p class="answer-questionnaire__question-label" data-answer-idx="<%= position %>">
    <%= translated_attribute(model.body) %>
  </p>

  <p class="answer-questionnaire__question-description">
    <em><%= t(model.question_type, scope: "decidim.forms.question_types") %></em>
  </p>

  <% if model.multiple_choice? %>
    <ul class="answer-questionnaire__question-description space-y-4">
      <% if model.matrix? %>
        <%= cell("decidim/forms/matrix_readonly", collection: model.matrix_rows) %>
      <% else %>
        <%= cell("decidim/forms/answer_readonly", collection: model.answer_options) %>
      <% end %>
    </ul>
  <% end %>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-forms-0.28.0 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.28.0.rc5 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.28.0.rc4 app/cells/decidim/forms/question_readonly/show.erb