Sha256: cfd7d9fbc57000e245365869ca478dc285bba27da7c055e1565130ee7705b09a

Contents?: true

Size: 360 Bytes

Versions: 60

Compression:

Stored size: 360 Bytes

Contents

<%
src = component[:attributes][:src]
alt = component[:attributes][:alt]
caption = component[:attributes][:caption].to_s
%>
<figure class="<%= promethee_class_for component %>">
  <img class="img-responsive" src="<%= src %>" alt="<%= alt %>">

  <% if caption.present? %>
    <figcaption>
      <%= caption.html_safe %>
    </figcaption>
  <% end %>
</figure>

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
promethee-1.3.26 app/views/promethee/components/image/_show.html.erb
promethee-1.3.25 app/views/promethee/components/image/_show.html.erb
promethee-1.3.24 app/views/promethee/components/image/_show.html.erb
promethee-1.3.23 app/views/promethee/components/image/_show.html.erb
promethee-1.3.22 app/views/promethee/components/image/_show.html.erb
promethee-1.3.21 app/views/promethee/components/image/_show.html.erb
promethee-1.3.20 app/views/promethee/components/image/_show.html.erb
promethee-1.3.19 app/views/promethee/components/image/_show.html.erb
promethee-1.3.18 app/views/promethee/components/image/_show.html.erb
promethee-1.3.17 app/views/promethee/components/image/_show.html.erb
promethee-1.3.16 app/views/promethee/components/image/_show.html.erb
promethee-1.3.15 app/views/promethee/components/image/_show.html.erb
promethee-1.3.13 app/views/promethee/components/image/_show.html.erb
promethee-1.3.12 app/views/promethee/components/image/_show.html.erb
promethee-1.3.11 app/views/promethee/components/image/_show.html.erb
promethee-1.3.10 app/views/promethee/components/image/_show.html.erb
promethee-1.3.9 app/views/promethee/components/image/_show.html.erb
promethee-1.3.7 app/views/promethee/components/image/_show.html.erb
promethee-1.3.6 app/views/promethee/components/image/_show.html.erb
promethee-1.3.5 app/views/promethee/components/image/_show.html.erb