Sha256: a9a499b64b553d5442b2dbeb0650c21752e7b3e7d2af62e2b0052c62253891f9

Contents?: true

Size: 830 Bytes

Versions: 3

Compression:

Stored size: 830 Bytes

Contents

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

    <%= description if show_description? %>

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-proposals-0.29.0.rc3 app/cells/decidim/proposals/proposal_g/show.erb
decidim-proposals-0.29.0.rc2 app/cells/decidim/proposals/proposal_g/show.erb
decidim-proposals-0.29.0.rc1 app/cells/decidim/proposals/proposal_g/show.erb