Sha256: 0d484362ba87a6c368744e7abec881a42965c4bc6074b63a20144cb5898d6233

Contents?: true

Size: 380 Bytes

Versions: 8

Compression:

Stored size: 380 Bytes

Contents

<%= render component_tag do %>
  <ul class="faqs-entries">
    <% @entries.each do |entry| %>
      <%= tag.li(id: ("faq-#{entry[:id]}" if entry[:id].present?), class: "faqs-entry") do %>
        <h4 class="faqs-question"><%= entry[:question] %></h4>
        <div class="faqs-answer">
          <%= entry[:answer] %>
        </div>
      <% end %>
    <% end %> 
  </ul>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/app/faqs/faqs.html.erb
coveragebook_components-0.15.0 app/components/coco/app/faqs/faqs.html.erb
coveragebook_components-0.14.0 app/components/coco/app/faqs/faqs.html.erb
coveragebook_components-0.13.1 app/components/coco/app/faqs/faqs.html.erb
coveragebook_components-0.13.0 app/components/coco/app/faqs/faqs.html.erb
coveragebook_components-0.12.2 app/components/coco/app/blocks/faqs/faqs.html.erb
coveragebook_components-0.12.1 app/components/coco/app/blocks/faqs/faqs.html.erb
coveragebook_components-0.12.0 app/components/coco/app/blocks/faqs/faqs.html.erb