Sha256: 1d5caa33850be1d0a296b962fa701ac3e30742e12817e7d23f4b74c9c004fc21

Contents?: true

Size: 667 Bytes

Versions: 5

Compression:

Stored size: 667 Bytes

Contents

<%= link_to resource_path, class: classes[:default], id: resource_id do %>
  <div class="<%= classes[:img] %>">
    <% if has_image? %>
      <%= image_tag resource_image_url, alt: alt_title %>
    <% else %>
      <%= external_icon "media/images/placeholder-card-g.svg", class: "card__placeholder-g" %>
    <% end %>
  </div>
  <div class="<%= classes[:text] %>">
    <%= content_tag title_tag, title, class: title_class %>
    <%= description if show_description? %>

    <% if metadata_cell.present? %>
      <div class="<%= classes[:metadata] %>">
        <%= cell metadata_cell, resource, links: false, **options %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/card_g/show.erb
decidim-core-0.28.4 app/cells/decidim/card_g/show.erb
decidim-core-0.29.0 app/cells/decidim/card_g/show.erb
decidim-core-0.28.3 app/cells/decidim/card_g/show.erb
decidim-core-0.29.0.rc4 app/cells/decidim/card_g/show.erb