Sha256: 8eb329da208ccbfe0e89f174309cc0f5068fdaf98e59831f03a605180bea9054

Contents?: true

Size: 503 Bytes

Versions: 10

Compression:

Stored size: 503 Bytes

Contents

<%
  body = component[:attributes].dig(:body, :value)&.to_s&.html_safe
  author = component[:attributes].dig(:author, :value)&.to_s
%>

<div class="<%= promethee_class_for(component) %>">
  <div class="promethee__component__row">
    <div class="promethee__component__content">
      <blockquote class="blockquote">
        <div><%= body %></div>
        <% if author.present? %>
            <footer class="author"><%= author %></footer>
        <% end %>
      </blockquote>
    </div>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
promethee-4.1.9 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.8 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.7 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.6 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.5 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.4 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.3 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.2 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.1 app/views/promethee/components/blockquote/_show.html.erb
promethee-4.1.0 app/views/promethee/components/blockquote/_show.html.erb