Sha256: b53a870e00db399812bfef2cab8d800e5968601738e46cbe0c452aea607b29bc

Contents?: true

Size: 854 Bytes

Versions: 4

Compression:

Stored size: 854 Bytes

Contents

<div class="fact">
  <%= render_image_link_lazy({
                                     :alt_image => fact.title,
                                     :image => fact.send(thumb_size),
                                     :a_href => url_for_fact(fact),
                                     :a_class => '',
                                     :a_style => css_common_width_height,
                                     :a_rel => 'nofollow'
                             }) %>
  <%= link_to(url_for_fact(fact), class: 'h5') do %>
      <h5 style="<%= css_common_width %>"><%= fact.title %></h5>
  <% end %>
  <p class="date" style="<%= css_common_width %>">
    <%= local_time(fact[:created_at], format: '%e.%m.%Y') %>
  </p>
  <p class="short" style="<%= css_common_width %>">
    <%= fact[:short].html_safe %>
  </p>
  <div class="white_shadow"></div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
c80_news-0.1.0.11 app/views/shared/_fact_inverted.html.erb
c80_news-0.1.0.10 app/views/shared/_fact_inverted.html.erb
c80_news-0.1.0.9 app/views/shared/_fact_inverted.html.erb
c80_news-0.1.0.8 app/views/shared/_fact_inverted.html.erb