Sha256: bdc512460c00f17d34926b2753f62c3456980b6fd18751bdef69cdcf9739b20b

Contents?: true

Size: 1012 Bytes

Versions: 2

Compression:

Stored size: 1012 Bytes

Contents

<div class="column">
  <article class="card card--proposal">
    <div class="card__content">
      <div class="card__header">
        <%= link_to model do%>
          <h5 class="card__title"><%= model.title %></h5>
        <% end %>
        <div class="card__author author-data author-data--small">
          <div class="author-data__main">
            <div class="author author--inline">
              <span class="author__avatar author__avatar--small">
                <%= image_tag model.author_avatar_url %>
              </span>
              <span class="author__name"><%= model.author_name %></span>
              <%= l model.created_at, format: "%d/%m/%Y" %>
            </div>
          </div>
        </div>
      </div>
      <%= render partial: "decidim/proposals/proposals/proposal_badge", locals: { proposal: model } %>
      <p><%= truncate(model.body, length: 100) %></p>
      <%= render partial: "decidim/proposals/proposals/tags", locals: { proposal: model } %>
    </div>
  </article>
</div>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
decidim-proposals-0.0.8.1 app/views/decidim/proposals/proposal_widgets/show.html.erb
decidim-0.0.8.1 decidim-proposals/app/views/decidim/proposals/proposal_widgets/show.html.erb