Sha256: 7c9e9f6133aeb916dae50891e1fc0bec75d9698e88d2b67ed83d84df9f3a7dce

Contents?: true

Size: 721 Bytes

Versions: 10

Compression:

Stored size: 721 Bytes

Contents

<li class="answer-questionnaire__question" data-question-readonly>
  <p class="answer-questionnaire__question-label" data-answer-idx="<%= position %>">
    <%= decidim_escape_translated(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

10 entries across 10 versions & 1 rubygems

Version Path
decidim-forms-0.29.1 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.28.4 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.29.0 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.28.3 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.29.0.rc4 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.29.0.rc3 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.29.0.rc2 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.29.0.rc1 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.28.2 app/cells/decidim/forms/question_readonly/show.erb
decidim-forms-0.28.1 app/cells/decidim/forms/question_readonly/show.erb