Sha256: ff0e8036724e7e340b86c5a3c0925cea2fe3abbd3844d68eea4335e6331ec731

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

<div class="<%= card_class %>">
  <div class="card--list__text">
    <%= link_to lausanne_budget_path(budget), class: link_class do %>
      <% if voted? && !voting_finished? %>
        <strong>
          <%= translated_attribute(title) %>
          </strong>
        <span class="button tiny success card--list__check card--list__check--disabled">
          <%= icon "check", class: "icon--small", role: "img" %>
        </span>
      <% else %>
        <%= translated_attribute(title) %>
        <% if progress? && !voting_finished? %>
          <span class="button tiny hollow secondary card--list__check card--list__check--disabled">
            <%= icon "bookmark", class: "icon--small", role: "img" %>
          </span>
        <% end %>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-lausanne-budgets-0.1.0 app/cells/decidim/lausanne/budgets/budget_list_item/show.erb